ActivateSKU
Host: dip-cb.binanceapi.com
PUT /mp-api/v1/apps/{appId}/skus/{skuId}/activate
Header
Parameter | Required | Description |
---|---|---|
X-Mp-Open-Api-Token | Yes | JWT token. Please refer to Description of External Interface Signature Authentication Algorithm |
Path Parameters
Parameter | Description |
---|---|
appId | The AppId of the mini program |
skuId | The skuId of the SKU |
Body Parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
status | boolean | Yes | True to activate; false to deactivate | true |
Request Body
{
"status": true
}
Response
HTTP 200
{
"code": "000000",
"message": null,
"data": {},
"success": true
}
ErrorCode | Remark |
---|---|
000000 | Success |
900001 | Invalid Parameter |
900002 | JWT Authentication Failed |
900003 | Unexpected Error |
900004 | Invalid FileId |
900260 | Invalid SkuId |
Note:
- Your SKU must have passed audit at least once to be considered valid.