This endpoint allows you to manually change the tier of a customer. The tier affects how the customer accrues points and which rewards are available to them.
TierId field is required and must match an existing tier configured in BonifiQ. If the tier does not exist, the API returns an error with the Tier_NotFound error code.Customer_NotFound error code.This optional field allows you to define a grace period (in days) for the tier change. This can be useful when promoting a customer temporarily or when a business rule requires the customer to stay in the tier for a limited time.
This optional field allows you to add a comment explaining the reason for the grace period. This information is internal-use only and will not be visible to the customer.
On success, the response contains the CustomerId, the new TierId, the CurrentTierName, and the OldTierName (if the customer was previously in a tier).
Use API Basic Auth Keys
Id from the client's store, usually email address or document
Tier change data containing the target TierId (required), an optional GracePeriodInDays, and an optional GracePeriodComments