# Set up delivery mode
# Interface call request specification
Http request method: POST
https://api.weixin.qq.com/product/shipmethods/set?access_token=xxxxxxxxx
# Request Parameter Sample
{
"supported_shipping_methods":{
"express":0,
"same_city":0,
"pickup":0
}
}
# Return Package Example
{
"errcode" : 0,
"errcode" : ""
}
# Request Parameter Dxplaination
parameter | type | Is it necessary to fill out | Introductions |
---|---|---|---|
supported_shipping_methods.express | number | yes | Whether to open the express delivery |
supported_shipping_methods.same_city | number | yes | Whether to open the same city distribution |
supported_shipping_methods.pickup | number | yes | Whether to open the line from the |
# Return parameter specification
parameter | type | Introductions |
---|---|---|
Errcode | string | Error code |
errmsg | string | Error message |
# Return code
Return code | Type of error |
---|---|
-1 | System exception |
-2 | Token is too long |
500001 | No delivery mode |
500002 | No city shipping address |
500003 | Wireless Offline Address |