Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
orders.read_write
- Orders Read & Write can:orders.custom.statuses.view
curl --location --request GET 'https://api.zid.sa/v1/managers/store/orders/custom-statuses' \
--header 'Authorization: Authorization: Bearer [your token]' \
--header 'Accept: application/json' \
--header 'Accept-Language: ar' \
--header 'X-MANAGER-TOKEN: X-MANAGER-TOKEN: [your token]'
[
{
"id": 1,
"status": "New",
"code": "new",
"is_customizable": true,
"sub_statuses": [
{
"id": 12,
"name": "Awaiting Approval",
"code": "awaiting_approval",
"color": "#FFAA00",
"is_active": true,
"display_order": 0,
"parent_status_id": 1
}
]
}
]