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.
project_id required | integer ID de projet. Ce paramètre se trouve dans le Compte éditeur à côté du nom du projet. Example: 44056 |
value_point_sku required | string Value Point SKU. Example: value_point_3 |
Value point rewards for items were successfully updated.
L'authentification de base n'a pas été passée ou est incorrecte. Vérifiez que vous avez utilisé l'authentification de base ou des informations d'identification correctes.
Objet non trouvé. Assurez-vous que les paramètres project_id
et sku
sont corrects.
[- {
- "amount": 100,
- "sku": "booster_1"
}, - {
- "amount": 0,
- "sku": "booster_mega"
}
]
{- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred",
- "statusCode": 401
}