# Query offline self-mention template
# Interface call request specification
Http request method: POST
https://api.weixin.qq.com/product/offline/get_pickup_template?access_token=xxxxxxxxx
# Request Parameter Sample
{
}
# Return Package Example
{
"errcode" : 0,
"errcode" : "",
"pickup_template":{
"template_id":59529,
"pickup_time":{
"start_business_hour":9,
"start_business_minute":30,
"end_business_hour":22,
"end_business_minute":0,
"promise_delivery_minutes":60,
"book_time":1440
}
}
}
# Request Parameter Dxplaination
parameter | type | Is it necessary to fill out | Introductions |
---|
# Return parameter specification
parameter | type | Introductions |
---|---|---|
Errcode | string | Error code |
errmsg | string | Error message |
pickup_template.template_id | number | Offline Template ID |
pickup_template.pickup_time | object | Bootstrap Time Settings |
# object-pickup_time
parameter | type | Introductions |
---|---|---|
start_business_hour | number | Opening hours, hours |
start_business_minute | number | Opening time, minutes |
end_business_hour | number | Closing time, hours. |
end_business_minute | number | Closing time, minutes |
promise_delivery_minutes | number | Delivery time, minutes |
book_time | number | Available time, minutes |
# Return code
Return code | Type of error |
---|---|
-1 | System exception |
-2 | Token is too long |