Skip to main content

Get List Provider

Use this api to get List Provider

Flow: Read data in db.

URL : api/shipping-manage/provider

Method : GET

Authorization : Use OAuth token

Success Response

Code : 200 OK

Content example

{
"success": true,
"errors": null,
"errorCode": null,
"data": [
{
"id": 1,
"name": "Ahamove",
"code": "ahamove",
"status": 1,
"view_status": 1,
"created_at": "2023-04-13T09:53:54.000000Z",
"updated_at": "2023-11-20T07:52:26.000000Z"
},
{
"id": 2,
"name": "Viettel Post",
"code": "viettelpost",
"status": 1,
"view_status": 1,
"created_at": "2023-04-13T09:53:54.000000Z",
"updated_at": "2023-04-13T09:53:54.000000Z"
}
]
}

cURL

curl --location 'https://api-gateway.develop.pharmacity.io/pmc-ecm-delivery-api/api/shipping-manage/provider' \
--header 'Authorization: Bearer XXXX'