POST /api/public/v1/customers/tillPassSale
Changed onWhat paying for an order holding a pass gives its customer: the pass's name, the customer's name, whether the organization asks for the guest's WhatsApp code when selling a pass (needsCode), sent to phone, whether verifyPassSaleCode verified the order for its customer (isVerified), and renewsUntil, the end the sale moves the customer's active pass of the same kind to, null for a new pass. Answers status noCustomer for an order with no customer or no pass. 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