Update Shipping Company
PUT
/shipping/companies/{company_id}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
Unique identification number assigned to a Shipping Company. Get a list of Shpping companies IDs here
Shipping Company Name
{
"name": "Shipping Company"
}
Request samples
Responses
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
{
"status": 200,
"success": true,
"data": {
"id": 976721503,
"name": "شحن شركة",
"app_id": 7654567,
"activation_type": "api",
"slug": ""
}
}