Loyalty Admin API
Write CallAdjustCustomerState3
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
-
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.
-
The adjustments to perform.
Output
A successful response has no meaningful properties and only contains an ok property always set to true:{"ok": true}