Skip to main content

Order Settings

A request to the following endpoint returns an object of the system's specified settings for orders

Request​

GET - {{url}}/api/public/merchant/settings/order

Headers
{
"Accept": "application/json",
"Authorization": "Bearer {{ token }}",
"Content-Type": "application/json",
"X-tenant": "{{ tenant }}",
}

Response​

Status - 200 - OK

Sample Response Object
{
"data": {
"waybill_setting": {
"digit_count": "7",
"auto_waybill_prefix": "CF",
"manual_waybill_prefix": "AF"
},
"origin_city_freeze": false,
"same_day_reschedule": false
}
}

ERRORS​

Invalid Bearer Token
{
"message": "Unauthenticated."
}