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
Shipping Company Name
{
"name": "Shipping Company"
}
Request samples
[api.label.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.
Detailed structure of the Shipping company model object showing its fields and data types.
A unique identifier associated with a specific shipping company or carrier. Shipping companies list can be found here
The formal name or title of a carrier responsible for the transportation and delivery of goods.
A unique identifier associated with a shipping or logistics application.
the method or process by which a shipping company or carrier activates its services, such as whether it's manual or API.
A short form would be the unique and URL-friendly identifier for a shipping company's name. If the activation_type
is set to manual
, a null
is returned; otherwise, you will receive a value.
{
"status": 200,
"success": true,
"data": {
"id": 976721503,
"name": "شحن شركة",
"app_id": null,
"activation_type": null,
"slug": null
}
}