Custom user parameter management interface
This interface supports the user to bind custom user parameters to a specific unionid under a single WeChat open platform account (subject must be consistent with the user account),After a bound user has placed an order through the affiliate promotional material, the custom user parameters corresponding to that user can be retrieved via query the order details interface .
Interface Name | Introductions |
Bind an open platform account | Supports Twitter to bind accounts on open platforms |
Get an open platform account | Supports Twitter to obtain signed open platform accounts |
Bind / swap custom user parameters | Support for tweeters to bind custom parameters for a specific unionid |
Remove custom user parameters | Supports tweeters to delete custom parameters for specific unionids |
Get custom user parameters | Support custom parameters for tweeting queries for specific unionid |
Interface Dxplaination
Supports Twitter to bind accounts on open platforms
Note: The open platform account bound must be the same subject as the Twitter account, and the open platform account can be changed twice a year
Request address
Request parameters
attribute | type | Default values | Required to fill in | Introductions |
access_token | string | | yes | Interface call credentials |
openAccount | string | | yes | Open platform accounts |
Examples of POST data
Return value
Object
attribute | type | Introductions |
errcode | number | Error code |
errmsg | string | Error message |
Error code
value | Introductions |
200002/25510 | Parameter Error |
25503 | Obtaining subject information failed |
25504 | Subject validation failed |
25505 | The account does not exist. |
25506 | Open account exception |
25507 | Open account exception |
25508 | Validation failed |
25509 | Custom parameters bound exceed the quantity limit |
Interface Dxplaination
Supports Twitter to obtain linked open platform accounts
Request address
Request parameters
Return value
Object
attribute | type | Introductions |
errcode | number | Error code |
errmsg | string | Error message |
openAccount | string | Open platform accounts |
III. Bind / swap custom parameters
Interface Dxplaination
Support for tweeters to bind custom parameters for a specific unionid
Note: A unionid can bind only one custom parameter at a time, and repeated bindings take the latest value
Request address
Request parameters
attribute | type | Default values | Required to fill in | Introductions |
access_token | string | | yes | Interface call credentials |
unionid | string | | yes | Open Platform unionid |
customizeInfo | string | | yes | Custom Parameters |
Examples of POST data
Return value
Object
attribute | type | Introductions |
errcode | number | Error code |
errmsg | string | Error message |
Error code
value | Introductions |
200002/25510 | Parameter Error |
25503 | Obtaining subject information failed |
25504 | Subject validation failed |
25505 | The account does not exist. |
25506 | Open account exception |
25507 | Open account exception |
25508 | Validation failed |
25509 | Custom parameters bound exceed the quantity limit |
IV. Removing custom parameters
Interface Dxplaination
Supports tweeters to delete custom parameters that have been bound by a specific unionid
Request address
Request parameters
attribute | type | Default values | Required to fill in | Introductions |
access_token | string | | yes | Interface call credentials |
unionid | string | | yes | Open Platform unionid |
Examples of POST data
Return value
Object
attribute | type | Introductions |
errcode | number | Error code |
errmsg | string | Error message |
Error code
value | Introductions |
200002/25510 | Parameter Error |
25503 | Obtaining subject information failed |
25504 | Subject validation failed |
25505 | The account does not exist. |
25506 | Open account exception |
25507 | Open account exception |
25508 | Validation failed |
25509 | Custom parameters bound exceed the quantity limit |
V. Get custom parameters
Interface Dxplaination
Support for tweeters to get custom parameters bound by a specific unionid
Request address
Request parameters
attribute | type | Default values | Required to fill in | Introductions |
access_token | string | | yes | Interface call credentials |
unionid | string | | yes | Open Platform unionid |
Return value
Object
attribute | type | Introductions |
errcode | number | Error code |
errmsg | string | Error message |
customizeInfo | string | Custom Parameters |
Error code
value | Introductions |
200002/25510 | Parameter Error |
25503 | Obtaining subject information failed |
25504 | Subject validation failed |
25505 | The account does not exist. |
25506 | Open account exception |
25507 | Open account exception |
25508 | Validation failed |
25509 | Custom parameters bound exceed the quantity limit |