Viewing Courier users
-
Lists the courier type users defined for the restaurant. It is needed in status change apis for orders. In particular, we expect the
courierIdinformation as a parameter in the order dispatch API, in this case theIDinformation of the couriers will be needed. You will not need this information if you do not integrate the process of changing order statuses. -
The request should be sent with the
GETmethod.
Parameters
Request Header Parameters
| Parameter | Description | Type |
|---|---|---|
| x-api-key | API key of your account | string |
| x-api-secret | API Secret key of your account | string |
| x-api-consumer | Integrator restaurant/company name | string |
Example Request
curl https://ext.adisyo.com/api/External/v2/CouriersExample Response
{
"Status":100,
"Message":"İşlem Başarılı",
"Couriers":[
{
"Id":456,
"Name":"Örnek Kurye 1",
"PhoneNumber":"5555555555"
},
{
"Id":457,
"Name":"Örnek Kurye 2",
"PhoneNumber":"5555555556"
}
]
}