Loyalty Admin API

Write Call

AdjustCustomerState3

Adjusts loyalty program state of the given customer.

Kind Write API call
Method POST
URL https://app.bubblehouse.com/api/v20230601/<shop>/AdjustCustomerState3
Authentication Admin Customer TokenShop Token
Note that because networking is unreliable, each call needs to have a unique idempotency key, and repeated calls with the same key do nothing and silently succeed. This means that you can safely retry calls failed due to networking errors. To help with testing, use an option that simulates a 500 error.

Input

  • customer CustomerIdentity1 required if using a shop token

    A customer to operate upon, when using a shop token.

    If you're using a customer token and decide to pass this field (which we do not recommend), it must match the customer from the token.

  • adjustments array of AdjustmentInput3 required

    The adjustments to perform.

Output

A successful response has no meaningful properties and only contains an ok property always set to true:
{"ok": true}
Previous
Overview