Light Mode
Delete Shipping Company
DELETE
/shipping/companies/{company_id}Last modified: a month ago
This endpoint allows you to delete a custom shipping company associated with the store, by passing the company_id
as a path parameter.
Request
Path Params
company_id
integer
required
Unique identification number assigned to a Shipping Company. Get a list of Shpping companies IDs here
Request samples
Responses
Deleted Successfully(200)
Not Found(404)
Unauthorized(401)
Deleted Successfully
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
number
optional
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 status Code
success
boolean
optional
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.
data
#/definitions/1387289optional
Example
{
"status": 200,
"success": true,
"data": {
"message": "تم حذف الشركة بنجاح",
"code": 200
}
}
Last modified: a month ago