Version: 202201
Create CarrierService
POST/openapi/2022-01/carrier_services/
Request
- application/json
- Body
- Example
Body
namestringrequired
Carrier Service Name
callback_urlstringrequired
shoplazza call third-party for calculating shipping rates.
activebooleanrequired
the status of this carrier service ,if true means usable
carrier_codestring
the code of provided carrier service company. eg:shipzip
logostring
carrier service logo url
short_descstring
carrier A brief introduction
{
"name": "string",
"callback_url": "string",
"active": true,
"carrier_code": "string",
"logo": "string",
"short_desc": "string"
}
Responses
- 200
- 400
200
- application/json
- Schema
- Example
- Result
Schema
carrier_service object
idstring
Example:
1cn_namestring
Example:
shipzipserivce1en_namestring
Example:
store_idstring
Example:
70808activestring
Example:
truecallback_urlstring
Example:
http://scopestring
Example:
calculatecarrier_service_codestring
Example:
shipziplogostring
Example:
short_descstring
Example:
more infoscreate_atstring
Example:
2024-07-01update_atstring
Example:
{
"carrier_service": {
"id": "1",
"cn_name": "shipzipserivce1",
"en_name": "",
"store_id": "70808",
"active": "true",
"callback_url": "http://",
"scope": "calculate",
"carrier_service_code": "shipzip",
"logo": "",
"short_desc": "more infos",
"create_at": "2024-07-01",
"update_at": ""
}
}
{
"carrier_service": {
"id": "1",
"cn_name": "shipzipserivce1",
"en_name": "",
"store_id": "70808",
"active": "true",
"callback_url": "http://",
"scope": "calculate",
"carrier_service_code": "shipzip",
"logo": "",
"short_desc": "more infos",
"create_at": "2024-07-01",
"update_at": ""
}
}
400
- application/json
No schema