ActivateSKU
Host: dip-cb.binanceapi.com
PUT /mp-api/v1/apps/{appId}/skus/{skuId}/activate
Header
Parameter | Required | Description |
---|---|---|
X-Mp-Open-Api-Token | Y | JWT token, please refer to Description of External Interface Signature Authentication Algorithm |
Path Parameters
Parameter | Description |
---|---|
appId | appId of the mini program |
skuId | skuId of this sku |
Body Parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
status | boolean | Y | true is activate; false is deactivate | true |
Request Body
Response
HTTP 200
ErrorCode | Remark |
---|---|
000000 | Success |
900001 | Invalid param |
900002 | Jwt auth failed |
900003 | Unexpected error |
900004 | Invalid fileId |
900260 | Invalid skuId |
Note:
- Your sku must be at least pass audition one time to be a valid sku