# Merchant turns on / off custom components
Cancel the transaction component, order merchandise is retained, category brand information is empty (for the time being, it is recommended that after reopening, pull up the latest category brand and verify that corresponding resources are available)
# Example of request parameters
<xml>
<ToUserName>gh_abcdefg</ToUserName>
<FromUserName>oABCD</FromUserName>
<CreateTime>12344555555</CreateTime>
<MsgType>event</MsgType>
<Event>open_product_account_register</Event>
<OpenProductAccountRegister>
<status>10</status>
</OpenProductAccountRegister>
</xml>
# Examples of back-up
success
# Dxplaination of request parameters
parameter | type | Introductions |
---|---|---|
ToUserName | string | Merchant Weixin Mini Program Name |
FromUserName | string | WeChat OpenID for teams (fixed value) |
CreateTime | number | Time of Event, Unix Timestamp |
MsgType | string | Message type, fixed as event |
Event | string | Event type, this interface is fixed to open_product_account_register |
OpenProductAccountRegister | object | The subject of the event |
OpenProductAccountRegister.status | number | 2: Component opens, 10: Cancel access |
# Dxplaination of callback parameters
Simply return the character stringsuccess
。