POST /api/public/v1/customers/tillPassRedemption
Changed onWhat an order redeems for its customer: each line a pass the customer holds covers (redemptions, the pass, the item and the uses left in the period, this order's not yet counted), each pass covering several different items on the order with the lines to pick one from with orders.choosePassLine (choices), whether the cashier charged the pass lines at full price with orders.declinePassRedemption (isDeclined) and the passes that left unredeemed (declinedPassNames), whether the organization asks for the guest's WhatsApp code when redeeming a pass (needsCode), sent to phone, and whether the order holds a live verification of its guest (isVerified), which any of the order's guest codes gives. Answers status none for an order with no customer or nothing to redeem. 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
endpoint added
- info