POST /api/public/v1/organization/setDeliveryMethods
Changed onRefused 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 URLhttps://app.fortuneos.ai
- Authnone declared
Request body
object required
organizationId, string required
enabled, union[] required
Response
OK
unknown required
Changes
- breaking
removed the enum value
careemof the request propertyenabled/items - breaking
removed the enum value
deliverooof the request propertyenabled/items - breaking
removed the enum value
delivery_clubof the request propertyenabled/items
12 more changes in this revision
- breaking