Services Introduction:
This document describes the integration points available to clients via the www.chinadivision.com API, which makes shipping data available for syncing the client system with the www.chinadivision.com system.
Interface Address:
https://api.chinadivision.com/sku-create
Request Method:
POST
Request Parameters (header):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
Request Parameters (bodyParam):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
package_number | string | yes | bodyParam | Package Number | |
tracking_number | string | yes | bodyParam | Tracking Number | |
shipping_method | string | yes | bodyParam | Shipping Method | |
quantity | int | yes | bodyParam | Total Quantity | |
info | array | yes | bodyParam | Multiple parcels SKU information | |
inspection | int | yes | bodyParam | inspection status code 0:no need inspection,1:need inspection |
0 |
remark | string | no | bodyParam | remark | |
business_type | int | yes | bodyParam | business type | 1 |
Request Example:
JSON Returns Example:
Remark:
Repeat create SKU, execute update SKU information operation.
Error Messages:
Error Code | Error Code Returns | Description |
---|---|---|
0 | success | success |
1 | Apikey can not be empty | apikey can not be empty |
2 | Apikey does not exist | apikey does not exist |
3 | Post data can not be empty | Post data can not be empty |
4 | Info data can not be empty | Info data can not be empty |
5 | Tracking Number and Package Number two must have a not null | Tracking Number and Package Number two must have a not null |
6 | service is temporarily unavailable | service is temporarily unavailable |