Light Mode
Shipping Company Options
GET
shipping/companies/{company_id}/optionsLast modified: 2 months ago
This endpoint is used to show the shipping company's options when issuing an AWB for an order
Request
Path Params
company_id
integer
required
the company id
Example:
1723506348
Request samples
Responses
Success(200)
error_notFound_404(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": [
{
"name": "boxes",
"label": "عدد الكراتين",
"type": "items",
"format": "dropdown-list",
"required": true,
"description": "",
"options": [
{
"value": 1,
"label": 1
},
{
"value": 2,
"label": 2
},
{
"value": 3,
"label": 3
},
{
"value": 4,
"label": 4
},
{
"value": 5,
"label": 5
},
{
"value": 6,
"label": 6
},
{
"value": 7,
"label": 7
},
{
"value": 8,
"label": 8
},
{
"value": 9,
"label": 9
},
{
"value": 10,
"label": 10
}
]
},
{
"name": "without_products",
"label": "عدم ارسال تفاصيل المنتجات في البوليصة",
"type": "boolean",
"format": "checkbox",
"required": false,
"description": ""
}
]
}
Last modified: 2 months ago