# 2001 Shopping (physical logistics) service dynamics
# content_json definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
cur_status | yes | int32 | Current status id | |
wxa_path_query | yes | string | Card click the jump path and query | |
product_count | Reference Status Requirements | uint32 | Number of commodities | |
product_list | Reference Status Requirements | object | Product information | |
send_Time | Reference Status Requirements | uint32 | Estimated Full Delivery Time | Second time stamp, displayed as MM/DD format |
product_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
Info_list | yes | array< object> | Product information |
Info_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
product_img | yes | string | Pictures of Goods | |
product_Name | yes | string | Name of Product | |
product_path_query | yes | string | Product path and query | |
count | no | uint32 | Number of items, the default is 1 | |
Single_price | no | uint32 | Unit price of goods | The unit is divided |
# cur_Status passes in the meaning of the status id, and the fields under the different status id require
id | Is this state possible when activated? | Can change from previous state* | State description | Required fields in this state | Optional field in this state | content_Example of json |
---|---|---|---|---|---|---|
1 | yes | 7 | Users have paid. | product_count product_list wxa_path_query | "{"cur_status":1,"product_count": 1,"product_list":{"info_list":[{"product_img":"https://res.wx.qq .com /op_res/DiSd8fVjXuHr5K9U73oRr74fMqnT5r9_GmI3mbfLOn2RpC_aENIPjYPPhPN_YnNKnUhyuAy8yLqNRAlh_JCsWQ","product_Name":"Bai","product_path_query":"pages/index/index"}]},"wxa_path_query":"pages/index/index"}" | |
2 | yes | 1, 7 | To be shipped | product_count product_list wxa_path_query | send_Time | "{"cur_status":2,"product_count": 1,"product_list":{"info_list":[{"product_img":"https://res.wx.qq .com /op_res/DiSd8fVjXuHr5K9U73oRr74fMqnT5r9_GmI3mbfLOn2RpC_aENIPjYPPhPN_YnNKnUhyuAy8yLqNRAlh_JCsWQ","product_Name":"Bai","product_path_query":"pages/index/index"}]},"send_Time": 1696157643,"wxa_path_query":"pages/index/index"}" |
3 | no | 1, 2, 3, 7 | Partially shipped | wxa_path_query | send_Time | "{"cur_status":3,"send_Time": 1696157643,"wxa_path_query":"pages/index/index"}" |
4 | no | 1, 2, 3, 7 | Shipped | wxa_path_query | "{"cur_status":4,"wxa_path_query":"pages/index/index"}" | |
5 | no | 3, 4, 7 | Re-shipped | wxa_path_query | "{"cur_status":5,"wxa_path_query":"pages/index/index"}" | |
6 | no | 4, 5, 7 | Signed for | wxa_path_query | "{"cur_status":6,"wxa_path_query":"pages/index/index"}" | |
7 | no | 1, 2, 3, 4, 5, 6 | After sale | wxa_path_query | "{"cur_status":7,"wxa_path_query":"pages/index/index"}" | |
8 | no | 1, 2, 3, 4, 5, 6, 7 | Trading successfully | wxa_path_query | "{"cur_status":8,"wxa_path_query":"pages/index/index"}" | |
9 | no | 7 | The sale is over. | wxa_path_query | "{"cur_status":9,"wxa_path_query":"pages/index/index"}" | |
10 | no | 1, 2, 7 | Order cancelled | wxa_path_query | "{"cur_status":10,"wxa_path_query":"pages/index/index"}" | |
11 | no | 7 | The sale order is closed | wxa_path_query | "{"cur_status":11,"wxa_path_query":"pages/index/index"}" |
Can change from previous stateIntroductions
- The number in this column indicates that the current state can only be changed by these states (this is not required on activation)
- It should be noted that the current state changes to the current state, but also requires the status id in this column: if the current state is 1, only if 1 is also in this column, the next update when the status is passed 1
- A state id that does not exist in this column, meaning the end state, and the service state is no longer updatable
# ext_json definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
shipping_list | yes | array | Logistics information | |
store_Info | no | object | Store information | |
product_additional_list | yes | object | Product additional information, and product_List sort one-to-one correspondence |
shipping_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
tracking_no | yes | string | Logistics single number | Character byte limit: [1, 128] |
express_company | yes | string | Quick-recursive company ID, seeGet a list of courier companies | Character byte limit: [1, 128] |
item_list | no | array<Unit 32 > | Logistics Includes Article Number List | Item number is product_Order of goods in list, starting from 0, sample value:[0, 1, 4] |
contact | no | object | Contact information | When the shipping logistics company is SF, the contact information is required, and the recipient or sender contact information is one of the two. |
contact definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
consignor_contact | no | string | Sender Contact Information, Sender's Contact | Use mask transmission, the last 4 digits can not be masked, example value: 189****1234, 021-****1234, ****1234, 0**2-*1234, 02-******23-10, ****123-8008 |
receiver_contact | no | string | Recipient's Contact Information, Recipient Contact | Use mask transmission, the last 4 digits can not be masked, example value: 189****1234, 021-****1234, ****1234, 0**2-*1234, 02-******23-10, ****123-8008 |
store_Info definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
store_Name | yes | string | Name of store | |
province | yes | string | Province/region | |
city | yes | string | City | |
county | yes | string | District/county | |
store_address | no | string | Detailed address | |
store_id | no | uint64 | Store send id | If you are connectedStore delivery, the above store related information field does not need to be passed in, can be directly passed “Store id (store_id)”, if all fields are passed in, we give priority to store information for store express delivery. |
product_additional_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
Info_list | yes | array< object> | Product Additional Information |
Info_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
unit_price | yes | uint32 | Unit price of goods | The unit is divided |
number | yes | uint32 | Number of commodities |