Power your website with our simple API
Our Web API lets your applications fetch data from the Chinadivision and manage orders.
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-v2
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 |
---|---|---|---|---|---|
sku | string | yes | bodyParam | sku code | |
sn | string | yes | bodyParam | sn code | |
product_name | string | yes | bodyParam | product name | |
name_en | string | yes | bodyParam | product english name | |
name_cn | string | yes | bodyParam | product chinese name | |
price | float | yes | bodyParam | product price | |
size | string | yes | bodyParam | product size | |
color | string | yes | bodyParam | product color | |
brand | string | yes | bodyParam | product brand | |
material | string | no | bodyParam | product english material | |
material_cn | string | no | bodyParam | product chinese material | |
application | string | no | bodyParam | product english english | |
application_cn | string | no | bodyParam | product chinese application | |
hs_code | string | no | bodyParam | HS code |
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 |
91 | Sku already exists | |
92 | Sn already is Used | |
101 | Sku can not be empty | |
102 | Sku can contain only numbers, letters, and hyphens (-) | |
103 | Sn can not be empty | |
104 | Sn can contain only numbers, letters, and hyphens (-) | |
105 | Product name can not be empty | |
106 | product chinese name can not be empty | |
107 | product english name can not be empty | |
108 | The price must be greater than 0 | |
109 | Size can not be empty | |
110 | Color can not be empty | |
111 | Brand can not be empty |
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 |
7 | The JSON data format is incorrect | The JSON data format is incorrect |
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(Deprecated in future versions)
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.
status_name: Order status name
status: New order status
0 Approving
10 Approved
11 Uploaded
8 Picking
9 Packing
5 Packaged
2 Awaiting Shipping
3 Shipped
4 Special event
24 Processing
19 Reviewing
21 Processing
23 Canceled
track_status_name: Track status name
track_status: Track status
0 To be updated track
101 In Transit
111 Pick Up
112 Out For Delivery
121 Delivered
131 Alert
132 Expired
order_deduction_status: Order Deduction Status
0 No deduction
1 Deduction
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-100 | |
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(Deprecated in future versions)
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.
status_name: Order status name
status: New order status
0 Approving
10 Approved
11 Uploaded
8 Picking
9 Packing
5 Packaged
2 Awaiting Shipping
3 Shipped
4 Special event
24 Processing
19 Reviewing
21 Processing
23 Canceled
track_status_name: Track status name
track_status: Track status
0 To be updated track
101 In Transit
111 Pick Up
112 Out For Delivery
121 Delivered
131 Alert
132 Expired
order_deduction_status: Order Deduction Status
0 No deduction
1 Deduction
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 | The order was successfully cancelled | 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 |
6 | The order is processing,please contact your account manager for cancellation | |
11 | Order has been cancelled,no need to cancel again |
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-track-list
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_ids | string | yes | urlParam | customer order id,Multiple comma-delimited |
Request Example:
-
php
JSON Returns Example:
-
JSON
Remark
Get order track info data
track_status_name: Track status name
track_status: Track status
0 To be updated track
101 In Transit
111 Pick Up
112 Out For Delivery
121 Delivered
131 Alert
132 Expired
order_deduction_status: Order Deduction Status
0 No deduction
1 Deduction
error_msg:Error message
error_code: Error code
0 OK
11 Order has been cancelled
Error Messages:
Error Code | Error Code Returns | Description |
---|---|---|
0 | success | success |
1 | Apikey can not be empty | |
2 | Apikey does not exist | |
7001 | invalid order id | |
7002 | exceed 40 numbers | |
7003 | error order ids | |
7004 | not found order info | |
7005 | get track info fail |
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/inventory-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 |
---|---|---|---|---|---|
sku | string | yes | urlParam | sku | |
date_start | string | no | urlParam | Start time, query the start time of the log creation time range. | |
date_end | string | no | urlParam | End time, query the end time of the log creation time range | |
type | string | no | urlParam | Log category: 1 inbound,2 outbound | |
sub_type | int | no | urlParam | Log subcategory:1: "Incoming goods warehousing"; 2: "Order cancellation warehousing"; 3: "Returned items warehousing"; 4: "Inventory surplus warehousing"; 5: "Moved in of the warehouse"; 6: "Other warehousing"; 7: "Destruction warehousing"; 8: "Transfer Inbound"; 9: "Transfer Outbound"; 10: "Order outbound"; 11: "Inventory Shortage outbound"; 12: "Moved out of the warehouse"; 13: "Destroy outbound"; 14: "Miscellaneous outbound" | |
page | string | no | urlParam | page | |
limit | string | no | urlParam | limit range 1-100 |
Request Example:
-
php
JSON Returns Example:
-
JSON
Remark:
qty:Operation quantity
total_surplus_qty: Current inventory
create_date: Operation time
product_id: product id
business_no: Operation number
main_type_name: Operation type name
type_name: Operation sub type name
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/editSku
Request Method:
POST
Request Parameters (header):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
Content-Type | string | yes | header | Content Type | application/json |
Request Parameters (urlParam):
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
product_id | integer | yes | bodyParam | Product ID | |
product_name | string | yes | bodyParam | Product name | |
name_cn | string | no | bodyParam | Product name in Chinese | |
name_en | string | yes | bodyParam | Product name in English | |
product_url | string | yes | bodyParam | Product image link | |
product_color | string | yes | bodyParam | Color of the product | |
product_size | string | yes | bodyParam | Product size | |
price | string | yes | bodyParam | Product price | |
ability | interger | yes | bodyParam | Product property value.You can obtain the corresponding product Property value through the Property List API. | |
hs_code | string | yes | bodyParam | HS Code | |
material | string | yes | bodyParam | Material name in English | |
material_cn | string | no | bodyParam | Material name in Chinese | |
application | string | yes | bodyParam | Application name in English | |
application_cn | string | no | bodyParam | Application name in Chinese | |
brand | string | yes | bodyParam | Brand | |
warning_quantity | interger | no | bodyParam | Inventory warning quantity | |
scan_sku_code | interger | no | bodyParam | Scan serial number: 0 indicates no and 1 indicates yes | |
is_pack_material | interger | no | bodyParam | Whether consumables are used: 0 indicates no and 1 indicates yes | |
pack_material | array | no | bodyParam | Product consumables array |
Data content in the product consumables array
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
pack_id | ingerger | yes | bodyParam | Consumable ID.You can obtain the corresponding consumable ID through the Material List API | |
qty | ingerger | yes | bodyParam | Quantity of consumables required for the corresponding product |
Request Example:
-
php
JSON Returns Example:
-
JSON
Remark:
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/deleteSku
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 |
---|---|---|---|---|---|
product_id | integer | yes | urlParam | Product ID |
Request Example:
-
php
JSON Returns Example:
-
JSON
Remark:
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/getMaterialList
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 |
---|---|---|---|---|---|
product_id | integer | no | urlParam | Product ID |
Request Example:
-
php
JSON Returns Example:
-
JSON
Remark:
Parameter Name | Types | Description |
---|---|---|
pack_id | interger | Consumable ID |
packing_name | string | Consumable name |
packing_name_en | string | Consumable name(EN) |
specs | string | Consumable size |
unit | string | Consumable unit |
fee | string | Consumable price |
img_url | string | Consumables image |
weight | string | Consumable weight |
is_charge | string | whether charge or not |
material_count | string | Quantity of consumables required for the corresponding product |
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/getPropertyList
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:
Parameter Name | Types | Description |
---|---|---|
property_id | interger | Property ID |
property_name | string | Property name |
property_value | interger | Property value |
property_name_en | string | Property name(EN) |
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:
Warehouse inbound basic information: You can obtain the basic data of the inbound reservation application through this interface, including the warehouse list, the express company list, the value-added service list, etc.
Interface Address:
https://api.chinadivision.com/package/getBasicData
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
Warehouse List
Parameter Name | Types | Description |
---|---|---|
warehouse_id | interger | The warehouse ID to be received |
warehouse_name | string | Warehouse's Chinese name |
warehouse_code | interger | Warehouse Code |
warehouse_en | string | Warehouse's English name |
Warehouse List
Parameter Name | Types | Description |
---|---|---|
warehouse_id | interger | The warehouse ID to be received |
warehouse_name | string | Warehouse's Chinese name |
warehouse_code | interger | Warehouse Code |
warehouse_en | string | Warehouse's English name |
Courier Company List
Parameter Name | Types | Description |
---|---|---|
id | interger | Courier company ID |
name | string | Courier company's Chinese name |
name_en | interger | Courier company's English name |
code | string | Courier Company Code |
Estimated Time of Arrival Range
Parameter Name | Types | Description |
---|---|---|
id | interger | Courier company ID |
name | string | Courier company's Chinese name |
name_en | interger | Courier company's English name |
code | string | Courier Company Code |
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:
You can use this interface to create a warehousing reservation form.
Interface Address:
https://api.chinadivision.com/package/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 |
---|---|---|---|---|---|
express_id | interval | yes | bodyParam | Courier company ID | The express_id can be retrieved through the warehouseList field in the Godown Entry Basic Data API interface. |
tracking_number | string | yes | bodyParam | Tracking number for the package | |
square_number | interval | yes | bodyParam | Cubic volume of goods | |
warehouse_id | interval | yes | bodyParam | The warehouse ID to be received | The warehouse_id can be retrieved through the warehouseList field in the Godown Entry Basic Data API interface. |
plan_arrival_date | string | yes | bodyParam | Estimated Arrival Date | |
plan_time_slot | string | yes | bodyParam | Estimated Time of Arrival | The plan_time_slot can be retrieved through the planTimeSlotList field in the Godown Entry Basic Data API interface. |
remark | string | no | bodyParam | Remark | |
skuList | array | yes | bodyParam | The sku list of the warehousing reservation form to be deposited | The plan_time_slot can be retrieved through the planTimeSlotList field in the Godown Entry Basic Data API interface. |
value_added | array | no | bodyParam | Value-added service value | |
other_remark | array | no | bodyParam | Other Remark | When choosing the value-added services of other, it is required to fill in |
insurance | array | no | bodyParam | Commodity insurance value-added service declaration data |
skuList Data
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
box_no | interval | yes | bodyParam | Case number | |
sku | string | yes | bodyParam | SKU | |
quantity | string | yes | bodyParam | Current quantity of sku in the box | |
total | string | yes | bodyParam | The total quantity of all skus in the current box |
insurance Data
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
declared_value | interval | yes | bodyParam | SKU declaration price | |
product_id | interval | yes | bodyParam | Product ID | |
quantity | interval | yes | bodyParam | Current total number of reservation orders for skus |
Request Example:
-
php
JSON Returns Example:
-
JSON
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:
The purpose of this document is to explain that after enabling the webhook hook and setting up the webhook URL, when there is a change in the order status or fee status in the ChinaDivision system, the order information will be pushed to the set webhook URL. The maximum number of push times for the message is 10 times. When pushing, a HTTP status code of 200 is returned within 5 seconds to represent successful receipt, otherwise it will be considered a failure, and the message will be re-pushed until 10 times, after which the pushing will stop.
Setting up Webhook URL
Enter the www.chinadivision.com system and log in to your account. Go to the back end and click on the "Webhook URL" in the top right corner "Settings button". Fill in your webhook URL in the pop-up window and select the specified update events. Save the settings and a test message will be pushed by the system, you can receive the pushed message at the webhook URL.
Request Method:
POST
Response Parameters (header)
Parameter Name | Types | Required | Parameter Location | Description | Defaults |
---|---|---|---|---|---|
apikey | string | yes | header | API Key | your apikey |
chinadivision-topic | string | yes | header | webhook event, eg. order.updated | order.deductionStatusUpdated |
JSON Returns Example:
-
JSON
Remark:
order_status: current order's state(Deprecated in future versions)
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.
status_name: Order status name
status: New order status
0 Approving
10 Approved
11 Uploaded
8 Picking
9 Packing
5 Packaged
2 Awaiting Shipping
3 Shipped
4 Special event
24 Processing
19 Reviewing
21 Processing
23 Canceled
track_status_name: Track status name
track_status: Track status
0 To be updated track
101 In Transit
111 Pick Up
112 Out For Delivery
121 Delivered
131 Alert
132 Expired
order_deduction_status: Order Deduction Status
0 No deduction
1 Deduction
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 |
Professional Chinese Product Sourcing Agent Team
With the procurement capabilities of Chinadivision, you will have a professional team of experts who purchase products from China, building a good communication bridge for you. You will not need to come to China to have a detailed understanding of the production and quality issues of Chinese products, assist in judging and verifying the reliability of suppliers, find the most favorable prices in low-cost countries, solve cross-border procurement problems, save costs, and expand your business into new fields.
Get Started Now