POST /api/public/v1/orders/setDelivery
Changed onRefused with CONFLICT orderPartPaid when the write would move a part-paid order to another table, off its table or onto one, and guestPaymentUnderWay when guests hold shares of its table's bill from the QR menu. On an own-rider delivery whose order names no customer, saving also makes the recipient the order's customer: the customer already holding the number, else a new one, when the number reads in the organization's region; The response's createdCustomer is the new one's name and phone, null when none was made. A saved address also joins that customer's addresses when the recipient is the customer. A member attached to an order already paid earns its loyalty points, unless the business takes no new Loyalty work (its own switch is off, or its plan restricts or lacks Loyalty). 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
- breaking
removed the enum value
careemof the request propertydeliveryChannel/anyOf[subschema #1] - breaking
removed the enum value
deliverooof the request propertydeliveryChannel/anyOf[subschema #1] - breaking
removed the enum value
delivery_clubof the request propertydeliveryChannel/anyOf[subschema #1]
12 more changes in this revision
- breaking