POST /api/public/v1/organization/setDeliveryMethods

Changed on

Refused with BAD_REQUEST (refusal deliveryOff) while the organization does not declare the Delivery order type, and with BAD_REQUEST (refusal regionUnavailable) when enabled names a delivery method the organization's region pack does not offer; the region's own methods are the venue's own courier plus the pack's providers. enabled may also switch on the organization's custom delivery methods by key; a key it does not define is dropped.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required
enabled, union[] required

Response

OK

unknown required

Changes

    • breaking

      removed the enum value careem of the request property enabled/items

    • breaking

      removed the enum value deliveroo of the request property enabled/items

    • breaking

      removed the enum value delivery_club of the request property enabled/items

    12 more changes in this revision