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:
php
JSON Returns Example:
JSON
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 |
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-info
Request Method:
GET
Request Parameters (header):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
Request Parameters (urlParam):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
package_number | string | yes | urlParam | Package Number | |
tracking_number | string | yes | urlParam | Tracking Number | |
shipping_method | string | yes | urlParam | Shipping Mehtod |
Request Example:
php
JSON Returns Example:
JSON
Remark:
package_status: current package's state
0: Processing, Packages are being processed;
1: Received, Packages have been received by ChinaDivision;
2: Problem, Packages-received don't match the packing list information which was offered by the customer or by the supplier;
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 | Package Number can not be empty | package number can not be empty |
4 | Tracking Number does not exist | tracking number does not exist |
5 | Shipping Method does not exist | Shipping Method does not exist |
6 | Packing List does not exist | Packing List does not exist |
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-cancel
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 |
---|---|---|---|---|---|
tracking_number | string | yes | bodyParam | Tracking Number | |
package_number | string | yes | bodyParam | Package Number | |
shipping_method | string | yes | bodyParam | Shipping Method | |
remark | string | no | bodyParam | remark |
Request Example:
php
JSON Returns Example:
JSON
Remark:
The cancel API call to cancel any orders before shipment.
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 | Tracking Number and Package Number two must have a not null | Tracking Number and Package Number two must have a not null |
4 | Post data can not be empty | Post data can not be empty |
5 | service is temporarily unavailable | service is temporarily unavailable |
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/order-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 |
---|---|---|---|---|---|
order_id | string | yes | bodyParam | order id | |
first_name | string | yes | bodyParam | first name | |
last_name | string | yes | bodyParam | last name | |
ship_address1 | string | yes | bodyParam | ship address1 | |
ship_address2 | string | no | bodyParam | ship address2 | |
ship_city | string | yes | bodyParam | ship city | |
ship_state | string | yes | bodyParam | ship state | |
ship_zip | string | yes | bodyParam | ship zip | |
ship_country | string | yes | bodyParam | ship country | |
ship_phone | string | yes | bodyParam | ship phone | |
ship_email | string | no | bodyParam | ship email | |
quantity | int | yes | bodyParam | Total quantity | |
info | array | yes | bodyParam | Multiple parcels SKU information | |
shipping_method | string | no | bodyParam | Specify a shipping out method | |
vat | string | no | bodyParam | vat | |
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:
php
JSON Returns Example:
JSON
Remark:
Repeat create order, execute update order 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 | service is temporarily unavailable | service is temporarily unavailable |
6 | Order has been shipped | Order has been shipped |
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/order-info
Request Method:
GET
Request Parameters (header):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
Request Parameters (urlParam):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
order_id | string | yes | urlParam | order id |
Request Example:
php
JSON Returns Example:
JSON
Remark:
order_status: current order's state
0: Processing, the parcel is being prepared.
1: Collected, the parcel has been collected by the courier company and the tracking number has been provided.
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 | Order ID can not be empty | order id can not be empty |
4 | Order does not exist | order does not exist |
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/orders-info
Request Method:
GET
Request Parameters (header):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
Request Parameters (urlParam):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
page | int | yes | urlParam | page | |
page_size | int | yes | urlParam | page size range 1-1000 | |
start | string | yes | urlParam | Start time, query the start time of the order creation time range. | |
end | string | yes | urlParam | End time, query the end time of the order creation time range |
Request Example:
php
JSON Returns Example:
JSON
Remark:
order_status: current order's state
0: Processing, the parcel is being prepared.
1: Collected, the parcel has been collected by the courier company and the tracking number has been provided.
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 |
4 | page can not be empty | page can not be empty |
5 | start can not be empty | start can not be empty |
6 | end can not be empty | end can not be empty |
7 | Order does not exist | order does not exist |
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/order-cancel
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 |
---|---|---|---|---|---|
order_id | string | yes | bodyParam | order id | |
remark | string | no | bodyParam | remark |
Request Example:
php
JSON Returns Example:
JSON
Remark:
The cancel API call to cancel any orders before shipment.
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 | Order ID can not be empty | Order ID can not be empty |
4 | Post data can not be empty | Post data can not be empty |
5 | service is temporarily unavailable | service is temporarily unavailable |
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-inventory
Request Method:
GET
Request Parameters (header):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
Request Parameters (urlParam):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
sku | string | yes | urlParam | SKU |
Request Example:
php
JSON Returns Example:
JSON
Remark:
The SKU Inventory API: Get your product inventory
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 | SKU can not be empty | SKU can not be empty |
4 | SKU Inventory does not exist | SKU Inventory does not exist |
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-inventory-all
Request Method:
GET
Request Parameters (header):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
Request Parameters (urlParam):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
Request Example:
php
JSON Returns Example:
JSON
Remark:
The SKU Inventory API: Get your all product inventory
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 |
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/orders-log
Request Method:
GET
Request Parameters (header):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
Request Parameters (urlParam):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
page | int | yes | urlParam | page | |
start | string | yes | urlParam | Start time, query the start time of the log creation time range. | |
end | string | yes | urlParam | End time, query the end time of the log creation time range | |
order_id | string | no | urlParam | order id. |
Request Example:
php
JSON Returns Example:
JSON
Remark:
log_type: Log type
1:tracking number is changed
2:order is reshipped
3:address information is changed
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 | start can not be empty | start can not be empty |
4 | end can not be empty | end can not be empty |