Light Mode
Update Shipping Company
PUT
/shipping/companies/{company_id}Last modified: 22 days ago
This endpoint allows you to update a custom shipping company associated with the store by passing the company_id
as a path parameter.
:::note
You cannot update a Shipping Company with activation_type
set to api
.
:::
Request
Path Params
company_id
string
required
Body Params application/json
name
string
required
Shipping Company Name
Example:
Shipping Company
Example
{
"name": "Shipping Company"
}
Request samples
Responses
Success(200)
Not Found(404)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 976721503,
"name": "شحن شركة",
"app_id": null,
"activation_type": null,
"slug": null
}
}
Last modified: 22 days ago