POST /api/public/v1/customers/tillStamps
Changed onThe loyalty stamps of the customer attached to an order: each active stamp row of the program in card order with the member's live stamps toward stampsToCollect, then each archived row the member still holds a ready reward from, with stamps null. Every row names its reward items and categories, rewardItemIds and rewardCategoryIds (a category's subcategories included), and lists its ready, unexpired rewards, soonest to expire first, with expiresOn, the day in the order's venue zone, expiresAt, the moment it expires, and orderId, the unpaid order using it, null while none does. Answers no rows for an order with no customer or a customer who is not a member, while the program is not live, its Stamps are off or the stamps flag is off for the organization, and while the plan lacks Loyalty under enforcement. Refused with FORBIDDEN as paywallLocked when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
added the required property
rows/items/rewardCategoryIdsto the response with the status - info
added the required property
rows/items/rewardItemIdsto the response with the status - info
added the required property
rows/items/rewards/items/expiresAtto the response with the status
1 more change in this revision
- info