版本:202201
创建物流商服务
POST/openapi/2022-01/carrier_services/
请求
- application/json
- 请求体
- 示例
请求体
namestring必填
Carrier Service Name
callback_urlstring必填
shoplazza call third-party for calculating shipping rates.
activeboolean必填
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"
}
响应
- 200
- 400
200
- application/json
- 数据结构
- 示例
- Result
数据结构
carrier_service object
idstring
示例:
1cn_namestring
示例:
shipzipserivce1en_namestring
示例:
store_idstring
示例:
70808activestring
示例:
truecallback_urlstring
示例:
http://scopestring
示例:
calculatecarrier_service_codestring
示例:
shipziplogostring
示例:
short_descstring
示例:
more infoscreate_atstring
示例:
2024-07-01update_atstring
示例:
{
"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
无 Schema