Light Mode
Create Shipping Company
POST
/shipping/companies/Last modified: 2 months ago
This endpoint allows you to create a custom shipping company.
Request
Body Params application/json
name
string
required
Shipping Company Name
Example:
Shipping Company
Example
{
"name": "Shipping Company"
}
Request samples
Responses
Success(200)
Unauthorized(401)
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.
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/1307399optional
Example
{
"status": 200,
"success": true,
"data": {
"id": 346226214,
"name": "شركة",
"app_id": 765436,
"activation_type": "api",
"slug": ""
}
}
Last modified: 2 months ago