Partially updates the number of value points for one or more items by the item’s SKU. Users receive these value points after purchasing the specified items.
Principles of updating value points:
Unlike the PUT method (Set value points for items), this PATCH method does not overwrite all existing value points for items in the project, it only updates the specified items. A single request can update up to 100 items. Duplicate item SKUs cannot be included in the same request.
Value point rewards for items were successfully updated.
基本认证未通过或错误。确保您使用了基本认证或正确的凭据。
未找到商品。请确保project_id
和sku
正确无误。
[- {
- "amount": 100,
- "sku": "booster_1"
}, - {
- "amount": 0,
- "sku": "booster_mega"
}
]
{- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred",
- "statusCode": 401
}