openapi: 3.0.1 info: title: Public Account Pairing Endpoints Manager Menu Endpoints API description: "# Overview\n\nThe API endpoints are developed around [RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer) principles secure via the OAuth2.0 protocol.\n\nBeyond the entry points, the API also provides a line of communication into your system via [webhooks](https://en.wikipedia.org/wiki/Webhook).\n\nFor testing purposes, we offer a staging environment. Also, more detailed information about the business rules and workflows can be found on the [**Documentation Section**](/docs/)\n\n## Versioning\nEach API is versioned individually, but we follow these rules:\n- Non breaking changes (eg: adding new fields) are added in the current version without previous communication\n- Breaking changes (fields removal, semantic changed or schema update) have the version incremented\n- Users will be notified about new versions and will be given time to migrate (the time will be set on a case by case basis)\n- Once users migrate to the new version, we will deprecate the old ones\n- Once there is a new version for an API, we won't accept new integrations targeting old versions\n\n## API General Definitions\nThe APIs use resource-oriented URLs communicating, primarily, via JSON and leveraging the HTTP headers, [response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status), and verbs.\n\nTo exemplify how the API is to be consumed, consider a fake GET resource endpoint invocation below:\n\n```\ncurl --request GET 'https://{{public-api-url}}/v1/resource/123' \\\n--header 'Authorization: Bearer 34fdabeeafds=' --header 'X-Store-Id: 321'\n```\n\n| Header | Description |\n| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n|`Authorization` | Standard HTTP header is used to associate the request with the originating invoker. The content of this header is a `Bearer` token generated from you client_secret, defined in the [API Auth](#/section/Guides/API-Auth) guide.|\n|`X-Store-Id` | The ID of the store in your system this call acts on behalf of. |\n\n_All resource endpoints expect the `Authorization` header, the remaining headers are explicitly stated in the individual endpoint documentation section._\n\nWith these headers, the system will:\n - Validate the client token, making sure the call is originating from a trusted source.\n - Validate that the Application has the permission to access the `v1/resource/{id}` resource via the Application's pre-configured scopes.\n - Translate your X-Store-Id to our internal store ID (e.g. `AAA`).\n - Validate and retrieve resource `AAA`, that is associated to your Application via store id `321`.\n\nPOST/PUT methods will look similar to the GET calls, but they'll take in a body in the HTTP request (default to the application/json content-type).\n\n```\ncurl --location --request POST 'https://{{public-api-url}}/v1/resource' \\\n--header 'Authorization: Bearer 34fdabeeafds=' --header 'X-Store-Id: 321'\n--data '{\"foo\": \"bar\"}'\n```\n\n## API Authentication/Authorization\n\n\n\n## Webhook\n\nThe Public API is able to send notifications to your system via HTTP POST requests.\n\nEvery webhook is signed using HMAC-SHA256 that is present in the header `X-HMAC-SHA256`, and you can also authenticate the requests using Basic Auth, Bearer Token or HMAC-SHA1 (legacy). Please, refer to [**Webhook Authentication Guide**](/docs/guides-webhook-authentication/) for more details.\n\n_Please work with your Account Representative to setup your Application's Webhook configurations._\n\n```\nExample Base-URL = https://{{your-server-url}}/webhook\n```\n\n### Notification Schema\n\n| **Name** | **Type** | **Description** |\n| ------------------------| ---------| -------------------------------------------------------------------- |\n| eventId | string | Unique id of the event. |\n| eventTime | string | The time the event occurred. |\n| eventType | string | The type of event (e.g. create_order). |\n| metadata.storeId | string | Id of the store for which the event is being published. |\n| metadata.applicationId | string | Id of the application for which the event is being published. |\n| metadata.resourceId | string | The external identifier of the resource that this event refers to. |\n| metadata.resourceHref | string | The endpoint to fetch the details of the resource. |\n| metadata.payload | object | The event object which will be detailed in each Webhook description. |\n\n### Notification Request Example\n\n```\ncurl --location --request POST 'https://{{your-server-url}}/webhook' \\\n--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36' \\\n--header 'Authorization: MAC ' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"eventId\": \"123456\",\n \"eventTime\": \"2020-10-10T20:06:02:123Z\",\n \"eventType\": \"orders.new_order\",\n \"metadata\": {\n \"storeId\": \"755fd19a-7562-487a-b615-171a9f89d669\",\n \"applicationId\": \"e22f94b3-967c-4e26-bf39-9e364066b68b\",\n \"resourceHref\": \"https://{{public-api-url}}/v1/orders/bf9f1d81-f213-496e-a026-91b6af44996c\",\n \"resourceId\": \"bf9f1d81-f213-496e-a026-91b6af44996c\",\n \"payload\": {}\n }\n}\n```\n\n### Expected Response\n\nThe partner application should return an HTTP 200 response code with an empty response body to acknowledge receipt of the webhook event.\n## Rate Limiting\nPlease, refer to [**Rate Limiting Guide**](/docs/guides-rate-limiting/) for more details.\n\n## Error codes\nThe APIs use standard HTTP status codes to indicate the success or failure of a request. Error codes are divided into two categories: 4XX codes for client-side errors and 5xx codes for server-side errors.\n### 4XX Client-Side Errors\nClient-side errors are indicated by status codes in the 4xx range. These errors are typically the result of a problem with the request made by your application.\nIf a client-side error occurs, our API will return a response that includes an appropriate error message. This message will provide information about the cause of the error. The aim of these messages is to assist you in identifying and resolving the issue.\nFor example, if you submit a request with missing or invalid parameters, you might receive a 400 Bad Request error with a message indicating which parameters were missing or incorrect.\n### 5XX Server-Side Errors\nServer-side errors are represented by status codes in the 5xx range. These errors suggest a problem with our server, not with your application's request.\nServer-side errors are typically transient, meaning they are temporary. If a server-side error occurs, we recommend that the client retries the same request with the exact same parameters.\nFor example, if you get a 500 Internal Server Error, it's possible that our server is suffering a temporary problem. In such cases, retrying the request after a short delay is often successful.\nIf you continually receive server-side errors, reach out to our support team for further assistance." version: v1 license: name: Proprietary contact: name: Kin Lane email: kin@apievangelist.com x-generated-from: documentation x-source-url: https://developer-guides.tryotter.com/api-reference/ x-last-validated: '2026-06-03' servers: - url: https://{public-api-url}/ description: Otter Public API base URL. The concrete host is provisioned per integration partner/account via your Otter account representative; substitute the value provided during onboarding. variables: public-api-url: default: public-api-url description: Account-specific Public API host provided by Otter during onboarding. tags: - name: Manager Menu Endpoints description: Endpoints for applications managing menus related data and operations. x-displayName: Menus Manager paths: /v1/menus: get: tags: - Manager Menu Endpoints summary: Otter Get the Menus for a Store description: '`RATE LIMIT: 8 per minute` ' operationId: getMenu parameters: - $ref: '#/components/parameters/storeIdHeader' responses: '200': description: The store's menu. content: application/json: schema: $ref: '#/components/schemas/Menus' examples: GetMenu200Example: summary: Default getMenu 200 response x-microcks-default: true value: photos: c75d9460-5d48-423d-8d01-f825fd5b1672: id: c75d9460-5d48-423d-8d01-f825fd5b1672 fileName: c75d9460-5d48-423d-8d01-f825fd5b1672.jpeg url: https://example.com/photos/c75d9460-5d48-423d-8d01-f825fd5b1672.jpeg categories: b01485b0-034a-47c5-8a0a-0eeca08bf994: name: Drinks description: All drink items served up nice and fresh! id: b01485b0-034a-47c5-8a0a-0eeca08bf994 itemIds: - fa4f0192-4c4e-4455-9db8-61d428c34969 modifierGroups: f4c69056-3ae3-4517-9294-5ceec8df5f81: id: f4c69056-3ae3-4517-9294-5ceec8df5f81 name: Add Straw minimumSelections: 0 maximumSelections: 1 defaultModifierSelectionData: defaultModifierSelections: - itemId: 6d53cf04-9d62-40f5-a8b3-706e3377668f selectionQuantity: 1 itemIds: - 6d53cf04-9d62-40f5-a8b3-706e3377668f type: DEFAULT exposedThirdPartyInfos: - externalId: ff6dd693-5e55-4a92-a359-ea61b23ed423 externalServiceSlug: 3PD menus: ff6dd693-5e55-4a92-a359-ea61b23ed423: id: ff6dd693-5e55-4a92-a359-ea61b23ed423 name: Tasty BBQ categoryIds: - b01485b0-034a-47c5-8a0a-0eeca08bf994 fulfillmentModes: - DELIVERY description: Cooking up BBQ deliciousness from around the globe! hours: intervals: - day: MONDAY fromHour: 7 fromMinute: 30 toHour: 22 toMinute: 0 additionalCharges: - chargeType: PACKAGING_CHARGE flatCharge: currencyCode: USD amount: 1.5 items: fa4f0192-4c4e-4455-9db8-61d428c34969: id: fa4f0192-4c4e-4455-9db8-61d428c34969 name: Canned Coke description: Best soda pop ever made price: currencyCode: USD amount: 7.65 status: saleStatus: FOR_SALE modifierGroupIds: - f4c69056-3ae3-4517-9294-5ceec8df5f81 photoIds: - c75d9460-5d48-423d-8d01-f825fd5b1672 priceOverrides: - rules: - type: FulfillmentModeOverrideRule fulfillmentMode: PICK_UP price: currencyCode: USD amount: 7 skuDetails: skuSlug: canned-coke-355ml skuId: 3bac7aed-c8c1-4bfa-a98a-350317e55072 dietaryClassifications: - tag: VEGAN allergenClassifications: - tag: GLUTEN containsAllergen: false - tag: PEANUT containsAllergen: true storageRequirements: - tag: COLD - tag: AVOID_SUNLIGHT additives: - flavor enhancers - food coloring containsAlcohol: false nutritionalInfo: energyKcal: low: 1 high: 100 nutritionContent: servingSizeInGrams: 100 servingSizeInMilliliters: 100 fats: 100.2 saturatedFats: 3.5 monoUnsaturatedFats: 5.2, polyUnsaturatedFats: 1.3, carbohydrates: 3.2, sugar: 101, polyols: 1.1, starch: 1.2, protein: 1.3, salt: 1.4, sodium: 1.5, fibres: 1.6, vitaminC: 1.7, calcium: 1.8, magnesium: 1.9, chloride: 2.0, fluoride: 2.1, potassium: 2.2, caffeine: 2.3, energy: 2.4 servings: min: 1 max: 2 producerInformation: The Coca-Cola Company distributorInformation: The Coca-Cola Company countryOfOriginIso2: US additionalCharges: - chargeType: PACKAGING_CHARGE percentageCharge: decimalValue: 0.015 tax: percentageValue: decimalValue: 0.513 isValueAddedTax: true 6d53cf04-9d62-40f5-a8b3-706e3377668f: id: 6d53cf04-9d62-40f5-a8b3-706e3377668f name: Paper straw description: A paper straw price: currencyCode: USD amount: 0.5 status: saleStatus: FOR_SALE '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '422': $ref: '#/components/responses/422' security: - OAuth2.0: - menus.read x-microcks-operation: delay: 0 dispatcher: FALLBACK /v1/menus/jobs/{jobId}: get: tags: - Manager Menu Endpoints summary: Otter Get the Async Menu Job Status description: '`RATE LIMIT: 8 per minute` ' operationId: getAsyncJobStatus parameters: - $ref: '#/components/parameters/storeIdHeader' - name: jobId in: path required: true schema: type: string description: The unique identifier of the job. example: 295f76b4-5725-4bf5-a8ab-97943dbdc3b4 responses: '200': description: The menu async job status. content: application/json: schema: $ref: '#/components/schemas/MenuAsynchronousJob' examples: GetAsyncJobStatus200Example: summary: Default getAsyncJobStatus 200 response x-microcks-default: true value: jobReference: id: c75d9460-5d48-423d-8d01-f825fd5b1672 status: PENDING jobType: PUBLISH publishJobState: rappi: status: FAILED message: Failed to publish menu due to error ... '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '422': $ref: '#/components/responses/422' security: - OAuth2.0: - menus.async_job.read x-microcks-operation: delay: 0 dispatcher: FALLBACK /manager/menu/v1/menus/publish-targets: get: tags: - Manager Menu Endpoints summary: Otter Get the Publish-targets for a Store description: '`RATE LIMIT: 2 per minute` ' operationId: managerGetMenuPublishTargets parameters: - $ref: '#/components/parameters/storeIdHeader' responses: '200': description: The store's menu publish-targets. content: application/json: schema: $ref: '#/components/schemas/MenuPublishTargets' examples: ManagerGetMenuPublishTargets200Example: summary: Default managerGetMenuPublishTargets 200 response x-microcks-default: true value: menuPublishTargets: rappi: status: PUBLISH_IN_PROGRESS '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '422': $ref: '#/components/responses/422' security: - OAuth2.0: - manager.menus x-microcks-operation: delay: 0 dispatcher: FALLBACK /manager/menu/v1/menus/publish: post: tags: - Manager Menu Endpoints summary: Otter Publish Menus to Targets for a Store description: '`RATE LIMIT: 2 per minute` ' operationId: managerPublishMenu parameters: - $ref: '#/components/parameters/storeIdHeader' requestBody: content: application/json: schema: $ref: '#/components/schemas/MenuPublishRequest' examples: ManagerPublishMenuRequestExample: summary: Default managerPublishMenu request x-microcks-default: true value: menuPublishTargets: - doordash - ubereats required: true responses: '202': description: The menu publish will be processed. content: application/json: schema: $ref: '#/components/schemas/MenuPublishResponse' examples: ManagerPublishMenu202Example: summary: Default managerPublishMenu 202 response x-microcks-default: true value: requestSubmitted: true jobId: c75d9460-5d48-423d-8d01-f825fd5b1672 menuPublishTargets: menuPublishTargets: &id001 rappi: status: PUBLISH_IN_PROGRESS '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '409': description: Conflicting Menu targets. content: application/json: schema: $ref: '#/components/schemas/MenuPublishResponse' examples: ManagerPublishMenu409Example: summary: Default managerPublishMenu 409 response x-microcks-default: true value: requestSubmitted: true jobId: c75d9460-5d48-423d-8d01-f825fd5b1672 menuPublishTargets: menuPublishTargets: *id001 '422': $ref: '#/components/responses/422' security: - OAuth2.0: - manager.menus x-microcks-operation: delay: 0 dispatcher: FALLBACK /manager/menu/v1/menus/menu-sync: post: tags: - Manager Menu Endpoints summary: Otter Synchronize Store Menu with POS Menu description: '`RATE LIMIT: 2 per minute` ' operationId: menuSync parameters: - $ref: '#/components/parameters/storeIdHeader' requestBody: content: application/json: schema: $ref: '#/components/schemas/PosMenuSyncRequest' examples: MenuSyncRequestExample: summary: Default menuSync request x-microcks-default: true value: shouldPublishChanges: true useCustomOptions: true customBulkResolutionOptions: updateNames: true updatePrices: true updateDescriptions: true createUnmatchedEntities: true deleteMissingEntities: true bootstrapPhotosToEntities: true copyEntityPaths: true updateItemSuspensionStatus: true updateHours: true assignItemsToLocations: true unassignItemsFromLocations: true updateMenuOrganization: true updateItemArrangement: true updateModifierGroupRules: true updateTaxes: true required: false responses: '202': description: The Menu Sync will be processed. content: application/json: schema: $ref: '#/components/schemas/PosMenuSyncResponse' examples: MenuSync202Example: summary: Default menuSync 202 response x-microcks-default: true value: jobId: c75d9460-5d48-423d-8d01-f825fd5b1672 '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '422': $ref: '#/components/responses/422' security: - OAuth2.0: - manager.menus x-microcks-operation: delay: 0 dispatcher: FALLBACK /manager/menu/v1/menus/entities/availability/suspend: post: tags: - Manager Menu Endpoints summary: Otter Suspend Menu Entities Targets for a Store description: '`RATE LIMIT: 16 per minute` ' operationId: managerSuspendMenuEntities parameters: - $ref: '#/components/parameters/storeIdHeader' requestBody: content: application/json: schema: $ref: '#/components/schemas/SuspendItemsRequest' examples: ManagerSuspendMenuEntitiesRequestExample: summary: Default managerSuspendMenuEntities request x-microcks-default: true value: entityIds: - 9cc4bb5e-bc97-40d9-af28-c02ef1483610 note: Out of item status: isIndefinite: true suspendedUntil: '2007-12-03T10:15:30+01:00' required: true responses: '202': description: The suspend menu entities will be processed. content: application/json: schema: $ref: '#/components/schemas/MenuAsynchronousJob' examples: ManagerSuspendMenuEntities202Example: summary: Default managerSuspendMenuEntities 202 response x-microcks-default: true value: jobReference: id: c75d9460-5d48-423d-8d01-f825fd5b1672 status: PENDING jobType: PUBLISH publishJobState: rappi: status: FAILED message: Failed to publish menu due to error ... '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '422': $ref: '#/components/responses/422' security: - OAuth2.0: - manager.menus x-microcks-operation: delay: 0 dispatcher: FALLBACK /manager/menu/v1/menus/entities/availability/unsuspend: post: tags: - Manager Menu Endpoints summary: Otter Unsuspend Menu Entities Targets for a Store description: '`RATE LIMIT: 16 per minute` ' operationId: managerUnsuspendMenuEntities parameters: - $ref: '#/components/parameters/storeIdHeader' requestBody: content: application/json: schema: $ref: '#/components/schemas/UnsuspendItemsRequest' examples: ManagerUnsuspendMenuEntitiesRequestExample: summary: Default managerUnsuspendMenuEntities request x-microcks-default: true value: entityIds: - 9cc4bb5e-bc97-40d9-af28-c02ef1483610 note: Item back in stock required: true responses: '202': description: The suspend menu entities will be processed. content: application/json: schema: $ref: '#/components/schemas/MenuAsynchronousJob' examples: ManagerUnsuspendMenuEntities202Example: summary: Default managerUnsuspendMenuEntities 202 response x-microcks-default: true value: jobReference: id: c75d9460-5d48-423d-8d01-f825fd5b1672 status: PENDING jobType: PUBLISH publishJobState: rappi: status: FAILED message: Failed to publish menu due to error ... '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '422': $ref: '#/components/responses/422' security: - OAuth2.0: - manager.menus x-microcks-operation: delay: 0 dispatcher: FALLBACK /manager/menu/v1/bootstrap: post: tags: - Manager Menu Endpoints summary: Otter Bootstrap Menus for a Store description: '`RATE LIMIT: 2 per minute` ' operationId: managerBootstrap parameters: - $ref: '#/components/parameters/storeIdHeader' requestBody: content: application/json: schema: $ref: '#/components/schemas/BootstrapMenuRequest' examples: ManagerBootstrapRequestExample: summary: Default managerBootstrap request x-microcks-default: true value: templateName: My Store's Menu externalServiceSlug: ubereats-api enableTemplate: true stationId: 9cc4bb5e-bc97-40d9-af28-c02ef1483610 posSlug: pos-slug required: true responses: '202': description: The menu will be bootstrapped. content: application/json: schema: $ref: '#/components/schemas/MenuAsynchronousJob' examples: ManagerBootstrap202Example: summary: Default managerBootstrap 202 response x-microcks-default: true value: jobReference: id: c75d9460-5d48-423d-8d01-f825fd5b1672 status: PENDING jobType: PUBLISH publishJobState: rappi: status: FAILED message: Failed to publish menu due to error ... '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '422': $ref: '#/components/responses/422' security: - OAuth2.0: - manager.menus x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: Photo: title: All photos for the store, indexed by ID required: - contentType - fileName - id - url type: object properties: url: type: string description: URL of the photo. example: https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png fileName: type: string description: File name example: image.jpg id: type: string description: Identifier of the Photo. example: e9174f75-a293-4908-bba7-9db69871ad81 contentType: type: string description: 'The media type of the file. Deprecated: Use the media type served from the photo URL instead.' example: image/jpeg, image/png deprecated: true description: All data required to represent a Photo for an entity in menus. ItemStatus: required: - saleStatus type: object properties: saleStatus: type: string description: The sale status of the item. example: TEMPORARILY_NOT_FOR_SALE enum: - FOR_SALE - INDEFINITELY_NOT_FOR_SALE - TEMPORARILY_NOT_FOR_SALE suspendedUntil: type: string nullable: true description: 'ISO-8601 timestamp representing the time the saleStatus value is supposed to change to FOR_SALE. Set only when current saleStatus value is TEMPORARILY_NOT_FOR_SALE. E.g.: 2020-11-23T21:33:51Z, 2007-12-03T10:15:30+01:00' format: date-time example: '2007-12-03T10:15:30+01:00' description: Represents whether an Item is for sale, indefinitely not for sale, or not for sale until a specific time. AdditionalCharge: required: - chargeType type: object properties: chargeType: type: string description: The type of the additional charge. enum: - PACKAGING_CHARGE - CONTAINER_DEPOSIT example: PACKAGING_CHARGE flatCharge: $ref: '#/components/schemas/Money' percentageCharge: $ref: '#/components/schemas/PercentageValue' unitPriceAndCount: $ref: '#/components/schemas/UnitPriceAndCount' description: Additional charge to apply. Exactly one of either flatCharge or percentageCharge should be provided. UnitPriceAndCount: required: - unitPrice - count type: object properties: unitPrice: $ref: '#/components/schemas/Money' count: minimum: 1 type: integer description: The count for the additional charge. example: 3 description: Unit price and count for additional charges. example: 3 x $25.21 NutritionContent: type: object properties: servingSizeInGrams: type: number description: The serving size in grams. This field and the servingSizeInMilliliters field are mutually exclusive. example: 100 servingSizeInMilliliters: type: number description: The serving size in milliliters. This field and the servingSizeInGrams are mutually exclusive. example: 100 fats: type: number description: The fats in grams per serving size. example: 2.3 saturatedFats: type: number description: The saturated fats in grams per serving size. example: 1.4 monoUnsaturatedFats: type: number description: The mono unsaturated fats in grams per serving size. example: 1.5 polyUnsaturatedFats: type: number description: The poly unsaturated fats in grams per serving size. example: 5.3 carbohydrates: type: number description: The carbohydrates in grams per serving size. example: 1.8 sugar: type: number description: The sugar in grams per serving size. example: 1.7 polyols: type: number description: The polyols in grams per serving size. example: 9.3 starch: type: number description: The starch in grams per serving size. example: 1.1 protein: type: number description: The protein in grams per serving size. example: 7.3 salt: type: number description: The salt in grams per serving size. example: 1.5 sodium: type: number description: The sodium in grams per serving size. example: 0.3 fibres: type: number description: The fibres in grams per serving size. example: 1.9 vitaminC: type: number description: The vitamin C in milligrams per serving size. example: 9.3 calcium: type: number description: The calcium in milligrams per serving size. example: 1.2 magnesium: type: number description: The magnesium in milligrams per serving size. example: 1.3 chloride: type: number description: The chloride in milligrams per serving size. example: 1.3 fluoride: type: number description: The fluoride in milligrams per serving size. example: 3.3 potassium: type: number description: The potassium in milligrams per serving size. example: 22.3 caffeine: type: number description: The caffeine in milligrams per serving size. example: 81.3 energy: type: number description: The energy in kcal per serving size. example: 991.3 description: The nutrition content of the item. PosMenuSyncResponse: type: object properties: jobId: type: string nullable: true description: Only present if the request succeeds. Job ID to check on the status with the MenuAsyncJob endpoint. format: uuid example: c75d9460-5d48-423d-8d01-f825fd5b1672 BootstrapMenuRequest: required: - templateName - externalServiceSlug type: object properties: templateName: type: string description: Name for the bootstrapped template menu example: My Store's Menu externalServiceSlug: type: string description: The external service from which to bootstrap menu data example: ubereats-api enableTemplate: type: boolean description: Whether or not to enable the template at the bootstrapped store nullable: true example: true stationId: type: string nullable: true description: The id of the station to which to assign bootstrapped items, unnecessary for brick and mortar example: 9cc4bb5e-bc97-40d9-af28-c02ef1483610 posSlug: type: string nullable: true description: The slug for the POS to connect to example: pos-slug ErrorDetail: type: object properties: attribute: type: string description: The error attribute. example: Order Currency Code message: type: string description: The error detail description. example: Order Currency Code must be exactly 3 characters description: The error detail response object. MenuAsynchronousJob: type: object properties: jobReference: $ref: '#/components/schemas/JobReference' jobType: $ref: '#/components/schemas/MenuJobType' publishJobState: $ref: '#/components/schemas/MenuJobPublishState' description: The job created to process the menu request. ErrorMessage: type: object properties: message: type: string description: The error description. example: The request body is invalid. details: type: array description: The error details. items: $ref: '#/components/schemas/ErrorDetail' description: The error response object. Money: required: - amount - currencyCode type: object properties: currencyCode: maxLength: 3 minLength: 3 type: string description: The 3-letter currency code (ISO 4217) to use for all monetary values. example: EUR amount: minimum: 0 exclusiveMinimum: false type: number description: Amount value. example: 25.21 description: Money amount. example: 25.21 SkuDetails: type: object properties: skuSlug: type: string description: A system-unique, human-readable identifier for the product. example: russet-potato-fries-200g skuId: type: string description: A unique identifier for the product. example: 3bac7aed-c8c1-4bfa-a98a-350317e55072 barcodes: type: array description: Barcodes for this product. items: $ref: '#/components/schemas/SkuBarcode' dietaryClassifications: type: array description: All dietary classifications that apply to the product. items: $ref: '#/components/schemas/DietaryClassification' allergenClassifications: type: array description: All allergens that are present in the product. items: $ref: '#/components/schemas/AllergenClassification' storageRequirements: type: array description: All storage requirements that apply to the product. items: $ref: '#/components/schemas/StorageRequirement' additives: type: array default: [] description: All additives present in the item. Additives are free strings. items: type: string example: - flavor enhancers - emulsifiers - antioxidants countryOfOriginIso2: maxLength: 2 minLength: 2 type: string description: The 2-letter country ISO2 code for where the product originated from. example: - US - CN - DE containsAlcohol: type: boolean description: Indicates whether or not this product contains alcohol. example: true nutritionalInfo: $ref: '#/components/schemas/NutritionalInfo' description: The nutritional information for the product. servings: $ref: '#/components/schemas/Servings' description: The number of servings for the product. producerInformation: type: string description: Information about the producer of this product. May or may not be the same as the distributor. example: The Coca-Cola Company distributorInformation: type: string description: Information about the distributor of this product. May or may not be the same as the producer. example: The Coca-Cola Company description: Details of the product being prepared or a pre-packaged good being sold. Includes information such as UPC barcode, unique identifiers, or classification information. MenuJobPublishState: type: object nullable: true additionalProperties: x-additionalPropertiesName: menuPublishTarget $ref: '#/components/schemas/MenuPublishJobState' description: Only present if the MenuJobType is PUBLISH. Contains a map of MenuPublishTarget services to their corresponding statuses. example: rappi: status: FAILED message: Failed to publish menu due to error ... StorageRequirement: type: object properties: tag: type: string description: Storage requirements for the product. enum: - FROZEN - COLD - DRY - ROOM_TEMPERATURE - AVOID_SUNLIGHT example: FROZEN description: Storage requirements for the product. Menu_POS: title: All Menus for the store, indexed by ID required: - id - name type: object properties: id: type: string description: Internal identifier for Menu. example: ff6dd693-5e55-4a92-a359-ea61b23ed423 name: type: string description: Name of the Menu. example: Tasty BBQ categoryIds: type: array default: [] description: Identifiers of the categories within this Menu. items: type: string fulfillmentModes: type: array default: [] description: The ways in which this menu may be fulfilled. If no values are specified, it is assumed that all fulfillment types are allowed. items: type: string description: How an item from a menu is allowed to be fulfilled when ordered by a user. enum: - DELIVERY - PICK_UP - DINE_IN description: type: string description: Description of the Menu. example: Cooking up BBQ deliciousness from around the globe! hours: $ref: '#/components/schemas/Hours' additionalCharges: type: array nullable: true description: Additional charges to apply for this menu. All additional charges specified on a menu will only be applied once per order. items: $ref: '#/components/schemas/AdditionalCharge' description: A menu for a store. ExposedThirdPartyInfo: required: - externalId - externalServiceSlug type: object properties: externalId: type: string description: 'The identifier that exists in the third party system. ' example: da0e4e94-5670-4175-897a-3b7dde45bed5 externalServiceSlug: type: string description: The slug of the third party service. example: tasty-bbq description: Information about a third party service that is exposed to the another service. Usually, this is used to expose an POS ID to an OFO. MenuPublishRequest: type: object properties: menuPublishTargets: type: array description: MenuPublishTargets to publish to. example: - doordash - ubereats items: type: string description: MenuPublishTargets to publish to. example: '["doordash","ubereats"]' NutritionalInfo: type: object properties: energyKcal: $ref: '#/components/schemas/EnergyKcal' nutritionContent: $ref: '#/components/schemas/NutritionContent' description: The nutritional information of an item. DietaryClassification: type: object properties: tag: type: string description: The type of dietary classification. enum: - VEGAN - VEGETARIAN - NON_VEGETARIAN - EGG - KOSHER - HALAL - PLANT_BASED - PALEO - KETO example: VEGAN description: Dietary classification information. MenuItem_POS: title: All Items for the store, indexed by ID required: - id - name - photoIds - price - status type: object properties: id: type: string minLength: 1 description: Internal identifier of this Item. example: faa4c79f-480d-4de1-bc34-5fb74ef082ef name: type: string description: Name of this Item example: Bagel photoIds: type: array description: A list of Photo references associated with the Item. items: type: string price: $ref: '#/components/schemas/Money' status: $ref: '#/components/schemas/ItemStatus' description: type: string description: Description of this Item example: Delicious bagel! modifierGroupIds: type: array default: [] description: Identifiers of each ModifierGroup within this Item. items: type: string example: 7152ee6e-e941-45c1-9008-2e306b479114 priceOverrides: type: array nullable: true description: Specify price overrides for different service slugs. items: $ref: '#/components/schemas/ItemPriceOverride' skuDetails: $ref: '#/components/schemas/SkuDetails' additionalCharges: type: array nullable: true description: Additional charges to apply for this item. Additional charges will be applied for every instance of this item within an order. items: $ref: '#/components/schemas/AdditionalCharge' tax: $ref: '#/components/schemas/ItemTax' description: The tax configuration for the menu item. description: Items are sold on the Menu. Modifiers to items are items themselves and their relationship is defined by ModifierGroup. HourInterval: type: object properties: day: type: string description: Day of the week. example: Monday enum: - MONDAY - TUESDAY - WEDNESDAY - THURSDAY - FRIDAY - SATURDAY - SUNDAY fromHour: maximum: 23 minimum: 0 type: integer description: Beginning hour of interval. format: int32 example: 8 fromMinute: maximum: 59 minimum: 0 type: integer description: Beginning minute of interval. format: int32 example: 0 toHour: maximum: 23 minimum: 0 type: integer description: Ending hour of interval. format: int32 example: 20 toMinute: maximum: 59 minimum: 0 type: integer description: Ending minute of interval. format: int32 example: 45 description: Represents the beginning and ending of operating time for a menu specific to a Day. DefaultModifierSelectionData: required: - defaultModifierSelections type: object properties: defaultModifierSelections: type: array description: The default modifier selections for this modifier group. items: $ref: '#/components/schemas/DefaultModifierSelection' description: The default modifiers selections for a modifier group. Hours: required: - intervals type: object properties: intervals: type: array minItems: 1 description: List of HourIntervals. items: $ref: '#/components/schemas/HourInterval' description: Hours are represented as a list of HourIntervals. SuspensionStatus: required: - isIndefinite type: object properties: isIndefinite: type: boolean description: True if the suspension is indefinite example: true suspendedUntil: type: string nullable: true description: 'ISO-8601 timestamp representing the time the saleStatus value is supposed to change to FOR_SALE. Set only when current saleStatus value is TEMPORARILY_NOT_FOR_SALE. E.g.: 2020-11-23T21:33:51Z, 2007-12-03T10:15:30+01:00' format: date-time example: '2007-12-03T10:15:30+01:00' description: The type of suspension this will be. JobReference: type: object properties: id: type: string description: Unique identifier of the job. format: uuid example: c75d9460-5d48-423d-8d01-f825fd5b1672 status: type: string description: The status of the job. enum: - PENDING - FAILED - SUCCESS - UNKNOWN example: PENDING description: The job reference. MenuJobType: type: string description: Type of job. enum: - UPSERT - PUBLISH - UPDATE_AVAILABILITY - SYNC - UNKNOWN example: PUBLISH Category: required: - id - name type: object properties: id: type: string description: The identifier that exists in the third party system. During a menu publish event, uuidV4 ids will be generated for new entities that do not yet exist in the internal menu. example: b01485b0-034a-47c5-8a0a-0eeca08bf994 name: type: string description: Name of Category. example: Drinks description: type: string description: Description of Category. example: All drink items served up nice and fresh! itemIds: type: array default: [] description: All items in the category. items: type: string example: - fa4f0192-4c4e-4455-9db8-61d428c34969 photoIds: type: array description: A list of Photo references associated with the Category. default: [] items: type: string exposedThirdPartyInfos: type: array default: [] description: Additional information about the menu that should be exposed to third party items: $ref: '#/components/schemas/ExposedThirdPartyInfo' description: Categories contain a list of Item references. EnergyKcal: type: object properties: low: type: number description: The minimum calorie value for an item. example: 1 high: type: number description: The maximum calorie value for an item. example: 100 description: The calorie range of the item. If only one calorie value is known, set both low and high to that value. MenuPublishTarget: type: object properties: status: type: string description: The status of a menu publish target. enum: - READY - PUBLISH_IN_PROGRESS - ERROR example: READY description: Information about the target. SuspendItemsRequest: required: - entityIds - note - status type: object properties: entityIds: type: array description: Entity IDs to suspend. These should be the IDs as you represent them in your system. example: - 9cc4bb5e-bc97-40d9-af28-c02ef1483610 items: type: string description: Entity IDs to suspend. example: '["9cc4bb5e-bc97-40d9-af28-c02ef1483610","9929290d-31eb-425d-8732-17c4074ac75e"]' note: type: string description: The reason you are suspending the items. example: Out of item status: $ref: '#/components/schemas/SuspensionStatus' MenuPublishTargets: type: object properties: menuPublishTargets: type: object additionalProperties: x-additionalPropertiesName: menuPublishTargetName $ref: '#/components/schemas/MenuPublishTarget' example: rappi: status: PUBLISH_IN_PROGRESS description: Map of MenuPublishTarget names to their targets. The target can only be published to if the status is READY. SkuBarcode: type: object properties: barcodeType: type: string description: The type of the barcode. enum: - UPC - GTIN - ASIN - INTERNAL example: UPC value: type: string description: The value of the barcode. example: 049000028904 (UPC) description: A barcode for the product which may be common types like UPC, GTIN, ASIN or an internal type. CustomBulkResolutionOptions: type: object nullable: true properties: updateNames: type: boolean description: Update the linked entity's names to match the linked external entity's. example: true updatePrices: type: boolean description: Update the linked entity's price to match the linked external entity's. example: true updateDescriptions: type: boolean description: Update the linked entity's description to match the linked external entity's. example: true createUnmatchedEntities: type: boolean description: Create unmatched external entities in the menu. example: true deleteMissingEntities: type: boolean description: Delete entities that are missing external links. example: true bootstrapPhotosToEntities: type: boolean description: Bootstrap linked item photos. example: true copyEntityPaths: type: boolean description: Copies the entity paths from the external menu. example: true updateItemSuspensionStatus: type: boolean description: Update Item suspension status. example: true updateHours: type: boolean description: Update menu hours. example: true assignItemsToLocations: type: boolean description: If an item exists at a location in the POS, it will automatically be assigned to that location. example: true unassignItemsFromLocations: type: boolean description: If an item is removed from a location in the POS, it will automatically be unassigned from that location. example: true updateMenuOrganization: type: boolean description: The organization of modifiers into modifier groups, modifier groups into items and items into categories will be replicated from the POS menu. example: true updateItemArrangement: type: boolean description: The arrangement of menu products as displayed in your POS will be replicated. example: true updateModifierGroupRules: type: boolean description: Update modifier group selection rules. example: true updateTaxes: type: boolean description: Update taxes. example: true PercentageValue: required: - decimalValue type: object properties: decimalValue: minimum: 0 type: number description: Percentage value in decimal format. example: 0.513 description: Percentage value in decimal format. example: A decimalValue of 0.513 will equate to 51.3% Servings: type: object properties: min: type: integer description: The minimum value of servings. example: 1 max: type: integer description: The maximum value of servings. example: 2 description: The number of people an item serves. If only one serving value is known, set both min and max to that value. ModifierGroup: title: All ModifierGroups for the Store, indexed by ID required: - id - name type: object properties: id: type: string description: The identifier that exists in the third party system. During a menu publish event, uuidV4 ids will be generated for new entities that do not yet exist in the internal menu. example: da0e4e94-5670-4175-897a-3b7dde45bed5 name: type: string description: Name of ModifierGroup. example: Choose your type of bagel minimumSelections: minimum: 0 type: integer description: Minimum number of selections customers can make in this ModifierGroup. 0 means no min limits. format: int32 example: 0 maximumSelections: minimum: 0 type: integer description: Maximum number of selections customers can make in this ModifierGroup. 0 means no max limits. format: int32 example: 0 maxPerModifierSelectionQuantity: minimum: 0 default: 1 type: integer description: Maximum number of selections customers can make for each modifier item in this ModifierGroup. 0 means there is no limit to how many times they can select a single modifier item. If not specified, a value of 1 will be used as the default value. format: int32 example: 0 defaultModifierSelectionData: $ref: '#/components/schemas/DefaultModifierSelectionData' itemIds: type: array default: [] description: Identifiers of each Item within this ModifierGroup. items: type: string description: type: string description: The description for this modifier group. example: Choose any of these delicious types of bagels type: type: string description: 'Experimental: The type of this modifier group, for informative purposes. It can be one of the following values: `DEFAULT`, `UPSELL`, `INGREDIENT_REMOVAL`, `INGREDIENT_ADD`, `PREPARE_INSTRUCTIONS`, `SIZE_MODIFICATION`, `PACKAGING_INSTRUCTION` and `CONDIMENT`.' example: DEFAULT exposedThirdPartyInfos: type: array default: [] description: Additional information about the menu that should be exposed to third party items: $ref: '#/components/schemas/ExposedThirdPartyInfo' description: Items are sold on the menu. Modifiers to items are items themselves and their relationship is defined by ModifierGroup. AllergenClassification: type: object properties: tag: type: string description: The type of allergen classification. enum: - GLUTEN - DAIRY - WHEAT - RYE - BARLEY - OAT - SPELT - KAMUT - CRUSTACEAN - MOLLUSK - EGG - FISH - PEANUT - SOYBEAN - NUT - ALMOND - HAZELNUT - WALNUT - CASHEW - PECAN - BRAZIL_NUT - PISTACHIO - MACADAMIA_NUT - QUEENSLAND_NUT - LUPIN - CELERY - MUSTARD - SESAME_SEED - SULFITE - CAFFEINE - PHENYLALANINE example: GLUTEN containsAllergen: type: boolean description: Indication of whether or not the product contains this allergen. If the status of the allergen is unknown, a classification should not be provided for this product. example: true description: Allergen classification information. ItemPriceOverride: required: - amount - currencyCode - rules type: object properties: rules: type: array minItems: 1 description: Override rules for when this price override should be applied. items: $ref: '#/components/schemas/OverrideRule' currencyCode: maxLength: 3 minLength: 3 type: string description: The 3-letter currency code (ISO 4217) to use for all monetary values. example: EUR amount: type: number description: Amount the Item costs example: 25.21 description: Price override for an item PosMenuSyncRequest: type: object properties: shouldPublishChanges: type: boolean nullable: true description: Whether or not to publish changes to external services after bulk resolution. example: true useCustomOptions: type: boolean nullable: true description: If true, use `customBulkResolutionOptions` instead of menu configuration. example: true customBulkResolutionOptions: nullable: true $ref: '#/components/schemas/CustomBulkResolutionOptions' MenuPublishResponseMenuPublishTargets: type: object nullable: true properties: menuPublishTargets: type: object additionalProperties: x-additionalPropertiesName: menuPublishTargetName $ref: '#/components/schemas/MenuPublishTarget' description: Map of MenuPublishTarget names to their targets. The target can only be published to if the status is READY. example: rappi: status: PUBLISH_IN_PROGRESS description: Only present if the request fails. Meant to help debugging why the request failed. MenuPublishResponse: type: object properties: requestSubmitted: type: boolean description: Whether the request was submitted or not. example: true jobId: type: string nullable: true description: Only present if the request succeeds. Job ID to check on the status with the MenuAsyncJob endpoint. format: uuid example: c75d9460-5d48-423d-8d01-f825fd5b1672 menuPublishTargets: $ref: '#/components/schemas/MenuPublishResponseMenuPublishTargets' OverrideRule: required: - externalServiceSlug type: object properties: externalServiceSlug: type: string description: 'The service slug for which this rule should apply. E.g.: If externalServiceSlug is UberEats, then the priceOverride should be applied to UberEats.' example: ubereats description: Override rule for when to apply price overrides Menus: required: - categories - modifierGroups - photos type: object properties: photos: title: All photos for the store, indexed by ID type: object additionalProperties: x-additionalPropertiesName: photoId $ref: '#/components/schemas/Photo' example: c75d9460-5d48-423d-8d01-f825fd5b1672: id: c75d9460-5d48-423d-8d01-f825fd5b1672 fileName: c75d9460-5d48-423d-8d01-f825fd5b1672.jpeg url: https://example.com/photos/c75d9460-5d48-423d-8d01-f825fd5b1672.jpeg categories: title: All Categories for the store, indexed by ID type: object additionalProperties: x-additionalPropertiesName: categoryId $ref: '#/components/schemas/Category' example: b01485b0-034a-47c5-8a0a-0eeca08bf994: name: Drinks description: All drink items served up nice and fresh! id: b01485b0-034a-47c5-8a0a-0eeca08bf994 itemIds: - fa4f0192-4c4e-4455-9db8-61d428c34969 modifierGroups: title: All ModifierGroups for the Store, indexed by ID type: object additionalProperties: x-additionalPropertiesName: modifierGroupId $ref: '#/components/schemas/ModifierGroup' example: f4c69056-3ae3-4517-9294-5ceec8df5f81: id: f4c69056-3ae3-4517-9294-5ceec8df5f81 name: Add Straw minimumSelections: 0 maximumSelections: 1 defaultModifierSelectionData: defaultModifierSelections: - itemId: 6d53cf04-9d62-40f5-a8b3-706e3377668f selectionQuantity: 1 itemIds: - 6d53cf04-9d62-40f5-a8b3-706e3377668f type: DEFAULT exposedThirdPartyInfos: - externalId: ff6dd693-5e55-4a92-a359-ea61b23ed423 externalServiceSlug: 3PD menus: title: All Menus for the store, indexed by ID type: object additionalProperties: x-additionalPropertiesName: menuId $ref: '#/components/schemas/Menu_POS' example: ff6dd693-5e55-4a92-a359-ea61b23ed423: id: ff6dd693-5e55-4a92-a359-ea61b23ed423 name: Tasty BBQ categoryIds: - b01485b0-034a-47c5-8a0a-0eeca08bf994 fulfillmentModes: - DELIVERY description: Cooking up BBQ deliciousness from around the globe! hours: intervals: - day: MONDAY fromHour: 7 fromMinute: 30 toHour: 22 toMinute: 0 additionalCharges: - chargeType: PACKAGING_CHARGE flatCharge: currencyCode: USD amount: 1.5 items: title: All Items for the store, indexed by ID type: object additionalProperties: x-additionalPropertiesName: itemId $ref: '#/components/schemas/MenuItem_POS' example: fa4f0192-4c4e-4455-9db8-61d428c34969: id: fa4f0192-4c4e-4455-9db8-61d428c34969 name: Canned Coke description: Best soda pop ever made price: currencyCode: USD amount: 7.65 status: saleStatus: FOR_SALE modifierGroupIds: - f4c69056-3ae3-4517-9294-5ceec8df5f81 photoIds: - c75d9460-5d48-423d-8d01-f825fd5b1672 priceOverrides: - rules: - type: FulfillmentModeOverrideRule fulfillmentMode: PICK_UP price: currencyCode: USD amount: 7 skuDetails: skuSlug: canned-coke-355ml skuId: 3bac7aed-c8c1-4bfa-a98a-350317e55072 dietaryClassifications: - tag: VEGAN allergenClassifications: - tag: GLUTEN containsAllergen: false - tag: PEANUT containsAllergen: true storageRequirements: - tag: COLD - tag: AVOID_SUNLIGHT additives: - flavor enhancers - food coloring containsAlcohol: false nutritionalInfo: energyKcal: low: 1 high: 100 nutritionContent: servingSizeInGrams: 100 servingSizeInMilliliters: 100 fats: 100.2 saturatedFats: 3.5 monoUnsaturatedFats: 5.2, polyUnsaturatedFats: 1.3, carbohydrates: 3.2, sugar: 101, polyols: 1.1, starch: 1.2, protein: 1.3, salt: 1.4, sodium: 1.5, fibres: 1.6, vitaminC: 1.7, calcium: 1.8, magnesium: 1.9, chloride: 2.0, fluoride: 2.1, potassium: 2.2, caffeine: 2.3, energy: 2.4 servings: min: 1 max: 2 producerInformation: The Coca-Cola Company distributorInformation: The Coca-Cola Company countryOfOriginIso2: US additionalCharges: - chargeType: PACKAGING_CHARGE percentageCharge: decimalValue: 0.015 tax: percentageValue: decimalValue: 0.513 isValueAddedTax: true 6d53cf04-9d62-40f5-a8b3-706e3377668f: id: 6d53cf04-9d62-40f5-a8b3-706e3377668f name: Paper straw description: A paper straw price: currencyCode: USD amount: 0.5 status: saleStatus: FOR_SALE description: All menus associated with a store. DefaultModifierSelection: required: - itemId - selectionQuantity type: object properties: itemId: type: string description: The id of the modifier item that this default selection pertains to. This id must be present in the item ids of the modifier group. example: da0e4e94-5670-4175-897a-3b7dde45bed5 selectionQuantity: minimum: 0 type: integer description: The default quantity of the modifier item to be selected. format: int32 example: 0 description: A default modifier selection consists of a reference to the modifier and the default selected quantity of that modifier. MenuPublishJobState: type: object properties: status: type: string description: Status of the menu publish. enum: - PENDING - FAILED - SUCCESS - UNKNOWN example: PENDING message: type: string nullable: true description: Only present if status is FAILED. Contains the error message returned by our menu systems. example: string description: Information about the menu publish target. StoreId: type: string description: The unique identifier of the store in the partner application. This ID, along with the `Application ID`, will be used to match the correct store when performing operations. It cannot be longer than 255 characters and must only contain printable ASCII characters. During on-boarding, this ID will be similar to `onboarding:905bb725-b141-4a9b-832a-1f254f772c94` (where the UUID is the Internal Store ID). During off-boarding, this field will be filled with the last known Store ID, or with an empty string, in case none is found. In that case, please fall back to the provided `internalStoreId` (a.k.a. Sku-Sku ID). example: partner-store-unique-identifier UnsuspendItemsRequest: type: object properties: entityIds: type: array description: Entity IDs to unsuspend. These should be the IDs as you represent them in your system. example: - 9cc4bb5e-bc97-40d9-af28-c02ef1483610 items: type: string description: Entity IDs to unsuspend. example: '["9cc4bb5e-bc97-40d9-af28-c02ef1483610","9929290d-31eb-425d-8732-17c4074ac75e"]' note: type: string description: The reason you are unsuspending the items. example: Item back in stock ItemTax: required: - percentageValue - isValueAddedTax type: object properties: percentageValue: $ref: '#/components/schemas/PercentageValue' description: Specify the percentage value of the tax. isValueAddedTax: type: boolean description: Whether this tax is a value-added tax. example: true description: The tax configuration. parameters: storeIdHeader: name: X-Store-Id in: header required: true schema: $ref: '#/components/schemas/StoreId' responses: '422': description: The request body is not valid. content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' '400': description: The request is malformed. content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' '403': description: Authorization not valid for the requested resource. content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' '404': description: Resource not found. content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' '401': description: Invalid authorization. content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' securitySchemes: OAuth2.0: type: oauth2 description: "The **Authorization API** is based on the [OAuth2.0 protocol](https://tools.ietf.org/html/rfc6749), supporting the (Client Credentials)[https://datatracker.ietf.org/doc/html/rfc6749#section-4.4] and the (Authorization Code)[https://datatracker.ietf.org/doc/html/rfc6749#section-4.1] flows. Resources expect a valid token sent as a `Bearer` token in the HTTP `Authorization` header.\n### Scopes\nScopes must be configured by our internal team to be enabled for an app. Once the scopes are configured they can be enabled on the Application Settings Page in Developer Portal. Each endpoint requires a given scope that can be verified on each endpoint documentation. When generating an OAuth2.0 token multiple scopes can be requested.\n\n### Authorization Code Flow\nTo perform this flow, the authorization code flow must be enabled in the Application Settings Page in Developer Portal. When enabling the flow it is mandatory to provide a redirect URI pointing to your application. Once the flow is complete we will redirect the user to this URI passing the 'code' and 'state' parameters.\nThe Authorization Code flow provides a temporary code that the client application can exchange for an access token. To start the flow the application must request the user authorization. This is done by sending a request to https://{{public-api-url}}/v1/auth/oauth2/authorize.\nExample\n```\ncurl --location 'https://{{public-api-url}}/v1/auth/oauth2/authorize?client_id=[CLIENT_ID]&redirect_uri=[REDIRECT_URI]&response_type=code&scope=organization.read&state=8A9D16B4C3E25F6A'\n```\nThis call will return a 302 redirecting the user to our authorization page. If the user approves the application, we will redirect to configured URI passing the authorization code in the query parameter 'code'. The 'state' parameter is also sent to ensure the source of the data.\nWith the authorization code, the client application can generate the token.\n### Client Credentials Flow\nThe client_credentials flow does not require any steps before generating the token. Once your application is ready, and the client_id and client_secret are available, the token can be generated by following the instructions in the next section.\n\n### Generate Token\nTo generate the token, use the `Client ID` and `Client Secret` (provided during onboarding), and optionally the authorization code obtained after performing the Authorization Code flow, to the [Token Auth endpoint](#operation/requestToken) endpoint. The result of this invocation is a token that is valid for a pre-determined time or until it is manually revoked.\n\nThe access token obtained will be sent as a `Bearer` value of the `Authorization` HTTP header.\n\nClient credentials in the request-body and HTTP Basic Auth are supported.\n\n#### Request Example for client_credentials\n```\ncurl --location --request POST 'https://{{public-api-url}}/v1/auth/token' \\\n --header 'Content-Type: application/x-www-form-urlencoded' \\\n --data-urlencode 'scope=ping' \\\n --data-urlencode 'grant_type=client_credentials' \\\n --data-urlencode 'client_id=[APPLICATION_ID]' \\\n --data-urlencode 'client_secret=[CLIENT_SECRET]'\n\n```\n#### Request Example for authorization_code\n```\ncurl --location --request POST 'https://{{public-api-url}}/v1/auth/token' \\\n --header 'Content-Type: application/x-www-form-urlencoded' \\\n --data-urlencode 'scope=ping' \\\n --data-urlencode 'grant_type=authorization_code' \\\n --data-urlencode 'client_id=[APPLICATION_ID]' \\\n --data-urlencode 'client_secret=[CLIENT_SECRET]' \\\n --data-urlencode 'code=[code]' \\\n --data-urlencode 'redirect_uri=[redirect_uri]'\n\n```\n#### Response Example\n```\n{\n \"access_token\": \"oMahtBwBbnZeh4Q66mSuLFmk2V0_CLCKVt0aYcNJlcg.yditzjwCP7yp0PgR6AzQR3wQ1rTdCjkcPeAMuyfK-NU\",\n \"expires_in\": 2627999,\n \"scope\": \"ping orders.create\",\n \"token_type\": \"bearer\"\n}\n```\n\n### Token Usage\n\nThe token provided in field `access_token` is used to authenticate when consuming the API endpoints. Send the token value in the `Authorization` header of every request. The token expiration time is represented in the field `expired_in`, in seconds. Currently, all tokens are valid for 30 days and should be stored and re-used while still valid.\n\nNote that occasionally, a 401 error may be returned for a valid token due to an internal service issue. Such occurrences should be rare. To prevent exposing potential vulnerabilities to attackers, the Public API does not disclose other types of errors in the authentication flow if for any reason the token can't be validated (when it's a valid token then it's ok to return 5XX or other 4XX though - such as 403). In such scenarios, although the internal auth flow avoids retries to prevent attacks, if the token is known to be valid and not expired, a retry with a backoff interval by the client is advised. Another option is to request a new token.\n\n#### Example\n\n```\ncurl --location --request GET 'https://{{public-api-url}}/v1/ping' \\\n --header 'Authorization: Bearer ' \\\n --header 'X-Store-Id: '\n\n```\n" flows: clientCredentials: tokenUrl: /v1/auth/token scopes: catalog: Permission to interact with product inventory for existing stores. delivery.provider: Permission to provide delivery services for existing orders. finance: Permission to provide financial data for orders/stores. manager.menus: Permission to manage menus. manager.orders: Permission to manage orders. manager.storefront: Permission to manage storefront. menus.async_job.read: Permission to read the status of a menu upsert job. menus.entity_suspension: Permission to notify the result of a menu entity availability update, after being requested by a webhook event. menus.get_current: Permission to send the current state of a menu, after being requested by a webhook event. menus.publish: Permission to notify the result of a publish menus operation for a given store. menus.read: Permission to read the current menus for a given store. menus.upsert: Permission to create/update menus for a given store. menus.upsert_hours: Permission to notify the receiving of the upsert hours menu event, after being requested by a webhook event. orders.create: Permission to create new order for a given store. orders.read: Permission to read orders and connected data. orders.update: Permission to create and update new orders for a given store. ping: Permission to ping the system. reports.generate_report: Permission to request reports for given store(s) and period of time. reviews.reply: Permission to reply to reviews. storefront.store_pause_unpause: Permission to notify the result of a pause/unpause operation, after being requested by a webhook event. storefront.store_availability: Permission to send the current state of store. storefront.store_hours_configuration: Permission to send the current store hours configuration. stores.manage: Permission to onboard stores and update the identifier. callback.error.write: Token has permission to send failed webhook event results. manager.loyalty: Permission to interact with loyalty services. direct.orders: Permission to interact with direct order services. store.read: Permission to query store information. authorizationCode: authorizationUrl: /v1/auth/oauth2/authorize tokenUrl: /v1/auth/token scopes: organization.read: Permission to read data for organization/brands/stores on behalf of a user. organization.service_integration: Permission to manage the your integration with a given store on behalf of a user. x-webhooks: orderCreate: post: tags: - Manager Orders Webhooks summary: Otter Order Creation Webhook operationId: orderCreateWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/Order' - example: eventType: orders.new_order examples: OrderCreateWebhookRequestExample: summary: Default orderCreateWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.new_order metadata: payload: externalIdentifiers: {} currencyCode: EUR status: NEW_ORDER items: - {} orderedAt: '2007-12-03T10:15:30+01:00' customer: {} customerNote: Please include extra napkins! deliveryInfo: {} orderTotal: {} orderTotalV2: {} customerPayments: - {} fulfillmentInfo: {} promotionsDetails: - {} preparationTime: {} responses: '200': $ref: '#/components/responses/200' '202': $ref: '#/components/responses/202' x-microcks-operation: delay: 0 dispatcher: FALLBACK orderUpdate: post: tags: - Manager Orders Webhooks summary: Otter Order Update Webhook operationId: orderUpdateWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/Order' - example: eventType: orders.update examples: OrderUpdateWebhookRequestExample: summary: Default orderUpdateWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.update metadata: payload: externalIdentifiers: {} currencyCode: EUR status: NEW_ORDER items: - {} orderedAt: '2007-12-03T10:15:30+01:00' customer: {} customerNote: Please include extra napkins! deliveryInfo: {} orderTotal: {} orderTotalV2: {} customerPayments: - {} fulfillmentInfo: {} promotionsDetails: - {} preparationTime: {} responses: '200': $ref: '#/components/responses/200' '202': $ref: '#/components/responses/202' x-microcks-operation: delay: 0 dispatcher: FALLBACK intentToCancelOrder: post: tags: - Orders Webhooks summary: Otter Intent to Cancel Order Webhook operationId: intentToCancelOrderWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/IntentToCancelEvent' - example: eventType: orders.cancel_order examples: IntentToCancelOrderWebhookRequestExample: summary: Default intentToCancelOrderWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.cancel_order metadata: payload: externalIdentifiers: {} cancellationReason: REASON_UNKNOWN responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK orderStatusUpdate: post: tags: - Orders Webhooks summary: Otter Order Status Update Webhook operationId: orderStatusUpdateWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/OrderStatusHistory' - example: eventType: orders.order_status_update examples: OrderStatusUpdateWebhookRequestExample: summary: Default orderStatusUpdateWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.order_status_update metadata: payload: orderStatusHistory: - {} orderAcceptedInfo: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK posInjectionStateUpdate: post: tags: - Orders Webhooks summary: Otter Pos Injection State Update Webhook operationId: posInjectionStateUpdateWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/PosInjectionStateUpdateEvent' - example: eventType: orders.pos_injection_state_update examples: PosInjectionStateUpdateWebhookRequestExample: summary: Default posInjectionStateUpdateWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.pos_injection_state_update metadata: payload: externalIdentifiers: {} injectionState: UNKNOWN injectionIssue: UNKNOWN_INJECTION_ISSUE additionalData: ticketData: Some value for the TicketData customField: customValue responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK orderConfirm: post: tags: - Manager Orders Webhooks summary: Otter Order Confirm Notification Webhook operationId: orderConfirmWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/OrderConfirmEvent' - example: eventType: orders.confirm examples: OrderConfirmWebhookRequestExample: summary: Default orderConfirmWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.confirm metadata: payload: orderId: 69f60a06-c335-46d9-b5a1-97f1a211c514 responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK orderReady: post: tags: - Manager Orders Webhooks summary: Otter Order Ready Status Notification Webhook operationId: orderReady requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/OrderReadyEvent' - example: eventType: orders.order_ready examples: OrderReadyRequestExample: summary: Default orderReady request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.order_ready metadata: payload: orderId: 69f60a06-c335-46d9-b5a1-97f1a211c514 responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK orderHandedOff: post: tags: - Manager Orders Webhooks summary: Otter Order Handed Off Status Notification Webhook operationId: orderHandedOff requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/OrderHandedOffEvent' - example: eventType: orders.order_handed_off examples: OrderHandedOffRequestExample: summary: Default orderHandedOff request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.order_handed_off metadata: payload: orderId: 69f60a06-c335-46d9-b5a1-97f1a211c514 courierPhone: 415-234-3212 courierBodyTempFahrenheit: 36.6 isCourierWearingMask: true responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK orderFulfilled: post: tags: - Manager Orders Webhooks summary: Otter Order Fulfilled Status Notification Webhook operationId: orderFulfilled requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/OrderFulfilledEvent' - example: eventType: orders.order_fulfilled examples: OrderFulfilledRequestExample: summary: Default orderFulfilled request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: orders.order_fulfilled metadata: payload: orderId: 69f60a06-c335-46d9-b5a1-97f1a211c514 responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK menuPublish: post: tags: - Menus Webhooks summary: Otter Menu Publish Webhook description: 'Webhook to trigger a menu publish. If successful, we expect a [**menu publish callback**](/api-reference/#operation/menuPublishCallback). If an error occurred, please publish a [**callback error**](/api-reference/#operation/publishError) instead.' operationId: menuPublishWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/MenuPublishEvent' - example: eventType: menus.menu_publish examples: MenuPublishWebhookRequestExample: summary: Default menuPublishWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: menus.menu_publish metadata: payload: menuData: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK sendMenu: post: tags: - Menus Webhooks summary: Otter Send Menu Webhook description: 'Webhook to trigger a send menu. If successful, we expect a [**menu send callback**](/api-reference/#operation/menuSendCallback). If an error occurred, please publish a [**callback error**](/api-reference/#operation/publishError) instead.' operationId: sendMenuWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/NullEvent' - example: eventType: menus.send_menu examples: SendMenuWebhookRequestExample: summary: Default sendMenuWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: menus.send_menu metadata: payload: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK updateMenuEntitiesAvailabilities: post: tags: - Menus Webhooks summary: Otter Update Menu Entities Availabilities Webhook description: 'Webhook to trigger an entities availabilities update. If successful, we expect an [**update menu entities availabilities callback**](/api-reference/#operation/updateMenuEntitiesAvailabilitiesCallback). If an error occurred, please publish a [**callback error**](/api-reference/#operation/publishError) instead.' operationId: updateMenuEntitiesAvailabilitiesWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/BulkUpdateItemStatus' - example: eventType: menus.update_menu_entities_availabilities examples: UpdateMenuEntitiesAvailabilitiesWebhookRequestExample: summary: Default updateMenuEntitiesAvailabilitiesWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: menus.update_menu_entities_availabilities metadata: payload: updates: - {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK upsertMenuHours: post: tags: - Menus Webhooks summary: Otter Upsert Menu Hours Webhook description: 'Webhook to trigger a menu hours update. If successful, we expect a [**menu upsert hours callback**](/api-reference/#operation/menuUpsertHours). If an error occurred, please publish a [**callback error**](/api-reference/#operation/publishError) instead.' operationId: upsertMenuHoursWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/UpsertHoursEvent' - example: eventType: menus.upsert_hours examples: UpsertMenuHoursWebhookRequestExample: summary: Default upsertMenuHoursWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: menus.upsert_hours metadata: payload: menuHoursData: da0e4e94-5670-4175-897a-3b7dde45bed5: timeZone: America/Los_Angeles regularHours: - days: - MONDAY - TUESDAY - WEDNESDAY - THURSDAY - FRIDAY timeRanges: - start: 08:00 end: 1320 specialHours: - date: '2021-12-31' timeRanges: - start: 08:00 end: 1320 type: CLOSED responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK pauseStore: post: tags: - Storefront Webhooks summary: Otter Pause Store Webhook operationId: pauseStoreWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/NullEvent' - example: eventType: storefront.pause_store examples: PauseStoreWebhookRequestExample: summary: Default pauseStoreWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: storefront.pause_store metadata: payload: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK unpauseStore: post: tags: - Storefront Webhooks summary: Otter Unpause Store Webhook operationId: unpauseStoreWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/UnpauseStoreEvent' - example: eventType: storefront.unpause_store examples: UnpauseStoreWebhookRequestExample: summary: Default unpauseStoreWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: storefront.unpause_store metadata: payload: 4109d2c9-8bc5-413c-af3e-1c92aa381e41 responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK getStoreAvailability: post: tags: - Storefront Webhooks summary: Otter Get Store Availability Webhook operationId: getStoreAvailabilityWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/NullEvent' - example: eventType: storefront.get_store_availability examples: GetStoreAvailabilityWebhookRequestExample: summary: Default getStoreAvailabilityWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: storefront.get_store_availability metadata: payload: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK getStoreHoursConfiguration: post: tags: - Storefront Webhooks summary: Otter Get Store Hours Configuration Webhook operationId: getStoreHoursConfigurationWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/NullEvent' - example: eventType: storefront.get_store_hours examples: GetStoreHoursConfigurationWebhookRequestExample: summary: Default getStoreHoursConfigurationWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: storefront.get_store_hours metadata: payload: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK deliveryStatusUpdate: post: tags: - Delivery Webhooks summary: Otter Update Delivery Status Webhook operationId: deliveryStatusUpdateWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/DeliveryStatusUpdateEvent' - example: eventType: delivery.delivery_status_update examples: DeliveryStatusUpdateWebhookRequestExample: summary: Default deliveryStatusUpdateWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: delivery.delivery_status_update metadata: payload: provider: doordash courier: {} estimatedDeliveryTime: '2007-12-03T10:15:30+01:00' estimatedPickupTime: '2007-12-03T10:15:30+01:00' status: REQUESTED deliveryStatus: REQUESTED currencyCode: EUR baseFee: 1.0 extraFee: 1.0 totalFee: 1.0 distance: {} updatedTime: '2007-12-03T10:15:30+01:00' deliveryTrackingUrl: https://www.doordash.com/delivery/track/1234567890 dropoffInfo: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK requestDeliveryQuotes: post: tags: - Delivery Webhooks summary: Otter Request Delivery Quotes Webhook operationId: requestDeliveryQuotesWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/RequestDeliveryQuoteEvent' - example: eventType: delivery.request_quote examples: RequestDeliveryQuotesWebhookRequestExample: summary: Default requestDeliveryQuotesWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: delivery.request_quote metadata: payload: deliveryReferenceId: d1a5e7c6-a79a-49bc-83bf-4169cd9c9dda provider: doordash preferredPickupDuration: 0 pickupAddress: {} dropoffAddress: {} destinationAddress: {} pickUpLocationId: d197bd64-a037-4b6e-aad7-06918e7e2d75 orderSubTotal: 15 currencyCode: KRW containsAlcoholicItem: true customerPayments: - {} orderExternalIdentifiers: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK acceptDelivery: post: tags: - Delivery Webhooks summary: Otter Accept Delivery Webhook operationId: acceptDeliveryWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/AcceptDeliveryEvent' - example: eventType: delivery.accept examples: AcceptDeliveryWebhookRequestExample: summary: Default acceptDeliveryWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: delivery.accept metadata: payload: deliveryReferenceId: d1a5e7c6-a79a-49bc-83bf-4169cd9c9dda provider: doordash preferredPickupTime: '2007-12-03T10:15:30+01:00' pickupOrderId: 19dc56c8-4497-4392-a612-9f81beb5fe5f pickupNote: Left side of the restaurant pickupAddress: {} dropoffNote: Please ring the doorbell dropoffAddress: {} customer: {} customerPayments: - {} currencyCode: KRW customerTip: {} orderSubTotal: 15 pickUpLocationId: d197bd64-a037-4b6e-aad7-06918e7e2d75 containsAlcoholicItem: true pickUpInstructions: string store: {} orderItems: - {} ofoDisplayId: 5989 ofoSlug: ifood pickUpInfo: {} orderExternalIdentifiers: {} dropoffInstructions: {} deliveryFee: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK cancelDelivery: post: tags: - Delivery Webhooks summary: Otter Cancel Delivery Webhook operationId: cancelDeliveryWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/CancelDeliveryEvent' - example: eventType: delivery.cancel examples: CancelDeliveryWebhookRequestExample: summary: Default cancelDeliveryWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: delivery.cancel metadata: payload: deliveryReferenceId: d1a5e7c6-a79a-49bc-83bf-4169cd9c9dda responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK updateDeliveryRequest: post: tags: - Delivery Webhooks summary: Otter Update Delivery Request Webhook operationId: updateDeliveryRequestWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/UpdateDeliveryRequestEvent' - example: eventType: delivery.update_request examples: UpdateDeliveryRequestWebhookRequestExample: summary: Default updateDeliveryRequestWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: delivery.update_request metadata: payload: deliveryReferenceId: d1a5e7c6-a79a-49bc-83bf-4169cd9c9dda provider: doordash currencyCode: USD customerPayments: - {} customerTip: {} pickUpInfo: {} responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK reportGenerated: post: tags: - Reports Webhooks summary: Otter Report Generated Webhook operationId: reportGeneratedWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/ReportGeneratedEvent' - example: eventType: reports.report_generated examples: ReportGeneratedWebhookRequestExample: summary: Default reportGeneratedWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: reports.report_generated metadata: payload: reportUrl: https://example.com/ jobId: 38ab397f-b142-4b06-b70c-40c68a408bea responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK ping: post: tags: - Ping Webhooks summary: Otter Ping Webhook description: Used to validate the integration without side effects operationId: pingWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/PingEvent' - example: eventType: ping.ping examples: PingWebhookRequestExample: summary: Default pingWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: ping.ping metadata: payload: message: Hello World responses: 2XX: $ref: '#/components/responses/2XX' x-microcks-operation: delay: 0 dispatcher: FALLBACK upsertStore: post: tags: - Account Pairing Webhooks summary: Otter Upsert Store description: Sent when a store is created or updated in `Public API` internal systems.
If metadata contains a `Store ID`, it means a request to update an existent store, otherwise, it's a creation operation.
It provides the store and credentials data needed to validate the store and create a new `Store ID` in the partner application.
At this point, the store is in `onboarding state` waiting the partner application to finish the onboarding process by providing the validated `Store ID`. operationId: upsertStorelinkWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/UpsertStorelinkEvent' - example: eventType: stores.upsert examples: UpsertStorelinkWebhookRequestExample: summary: Default upsertStorelinkWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: stores.upsert metadata: payload: credentialsSchemaVersion: '1.0' credentials: - key: email value: test@email.com - key: password value: test-pwd-1234 storeInfo: &id002 name: Store Public Name address: Some Street, 1234 currencyCode: USD timezone: America/Los_Angeles internalStoreId: 51608e41-5d9e-477f-ae02-8c0c68036d5d responses: '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '409': description: The provided credentials already exists in another store. content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' examples: UpsertStorelinkWebhook409Example: summary: Default upsertStorelinkWebhook 409 response x-microcks-default: true value: message: The request body is invalid. details: - attribute: Order Currency Code message: Order Currency Code must be exactly 3 characters '422': description: The provided credentials are not compatible with the provided schema version. content: application/json: schema: $ref: '#/components/schemas/ErrorMessage' examples: UpsertStorelinkWebhook422Example: summary: Default upsertStorelinkWebhook 422 response x-microcks-default: true value: message: The request body is invalid. details: - attribute: Order Currency Code message: Order Currency Code must be exactly 3 characters 2XX: description: 'The provided credentials are compatible with the provided schema version, successfully saved in the partner application database and available for the validation process (establishing a connection with the service related to the Application ID, e.g.: UberEats).' x-microcks-operation: delay: 0 dispatcher: FALLBACK removeStore: post: tags: - Account Pairing Webhooks summary: Otter Remove Store description: Sent when a store is removed from our system. Contains information about the store for which the event was triggered. operationId: removeStoreWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotification' - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/RemoveStorelinkEvent' - example: eventType: stores.remove examples: RemoveStoreWebhookRequestExample: summary: Default removeStoreWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: stores.remove metadata: payload: storeInfo: *id002 responses: '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' 2XX: description: The store credentials for the service related to the Application ID were successfully removed from the partner application database. x-microcks-operation: delay: 0 dispatcher: FALLBACK fetchCredentials: post: tags: - Account Pairing Webhooks summary: Otter Fetch Credentials (synchronously) description: Synchronously returns the last version of the credentials schema needed to create and validate a store in the partner application. If the request contains the `Store ID`, it also returns the saved store credentials corresponding to the provided `Store ID`. operationId: fetchCredentialsWebhook requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/EventNotificationBase' - $ref: '#/components/schemas/OptionalStoreIdInMetadata' - example: eventType: stores.fetch_credentials - type: object properties: metadata: type: object properties: payload: $ref: '#/components/schemas/FetchCredentialsEvent' examples: FetchCredentialsWebhookRequestExample: summary: Default fetchCredentialsWebhook request x-microcks-default: true value: eventId: c75d9460-5d48-423d-8d01-f825fd5b1672 eventTime: '2007-12-03T10:15:30+01:00' eventType: stores.fetch_credentials metadata: payload: credentials: - key: email value: test@email.com - key: password value: test-pwd-1234 responses: '200': description: The credentials schema and, if the request contains the Store ID, the correspondent store credentials. content: application/json: schema: $ref: '#/components/schemas/ViewCredentialsArray' examples: FetchCredentialsWebhook200Example: summary: Default fetchCredentialsWebhook 200 response x-microcks-default: true value: credentialsSchemaVersion: '1.0' credentials: - key: email label: Email value: foodstore@email.com - key: password label: Password value: test-pwd-1234 - key: language label: Choose the language inputType: SELECT selectOptions: - English - Portuguese - key: supported_sizes label: Choose all supported sizes inputType: SELECT selectOptions: - SMALL - MEDIUM - LARGE '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' x-microcks-operation: delay: 0 dispatcher: FALLBACK x-tagGroups: - name: Endpoints tags: - Account Pairing Endpoints - Auth Endpoints - Callback Endpoints - Delivery Endpoints - Finance Endpoints - Inventory Endpoints - Manager Menu Endpoints - Manager Order Endpoints - Manager Storefront Endpoints - Menus Endpoints - Orders Endpoints - Organization Endpoints - Ping Endpoints - Reports Endpoints - Reviews Endpoints - Storefront Endpoints - Manager Loyalty Endpoints - Direct Orders Endpoints - Store Endpoints - name: Webhooks tags: - Account Pairing Webhooks - Delivery Webhooks - Manager Orders Webhooks - Menus Webhooks - Orders Webhooks - Ping Webhooks - Reports Webhooks - Storefront Webhooks