Note: If a message callback is configured after Weixin Mini Program customer service is turned on,Then WeChat will not send a message to the customer service assistant. If you wish to not handle customer service messages, refer to the section to forward the message to the Customer Service section to continue forwarding the message to a customer service system.
Dxplaination of Interface Call Request
Example of request parameters
Examples of back-up
Dxplaination of request parameters
| parameter | type | Is it compulsory? | Introductions |
| service_agent_path | string | no | Weixin Mini Program path |
| service_agent_phone | string | no | Customer Service Contact Information |
| service_agent_type | enum[] | yes | Customer service type, support multiple, 0: Weixin Mini Program customer service (will check whether to open), 1: custom customer service path 2: connected phone |
| default_receiving_address | AddressInfo | The default return address is a long time after return, which will allow the user to send the goods to this address. | |
| default_receiving_address.receiver_name | string | yes | Name of the recipient |
| default_receiving_address.detailed_address | string | yes | Detailed shipping address information |
| default_receiving_address.tel_number | string | yes | Recipient's mobile phone number |
| default_receiving_address.country | string | no | country |
| default_receiving_address.province | string | yes | province |
| default_receiving_address.city | string | yes | city |
| default_receiving_address.town | string | yes | area |
Dxplaination of callback parameters
| parameter | type | Introductions |
| errcode | number | Error code |
| errmsg | string | Error message |