openapi: 3.1.0 info: title: Deliverect Channel Accounts Orders API description: Integrate ordering channels and marketplaces with Deliverect to create and cancel orders, sync menus, snooze products, update store and courier status, and exchange payment events. Authenticates with OAuth 2.0 machine-to-machine access tokens scoped via genericChannel. version: '1.0' x-generated-from: documentation x-source-url: https://developers.deliverect.com/reference x-last-validated: '2026-06-02' contact: name: Kin Lane email: kin@apievangelist.com license: name: All Rights Reserved servers: - url: https://api.deliverect.com description: Production - url: https://api.staging.deliverect.com description: Staging security: - oauth2: [] tags: - name: Orders description: Orders operations for the Deliverect Channel API. paths: /{channelName}/order/{channelLinkId}: post: summary: Deliverect Create / Cancel Order description: Create a new order for a linked location. operationId: post_channelname_order_channellinkid parameters: - name: channelName in: path required: true schema: type: string default: '{channelName}' description: A unique scope provided to channel integrators to create orders in authorised locations example: '{channelName}' - name: channelLinkId in: path required: true schema: type: string default: '{channelLinkId}' description: The unique identifier of the channel in a specific location. example: '{channelLinkId}' requestBody: content: application/json: schema: type: object properties: channelOrderId: type: string description: The full unique ID from the ordering channel. example: 609a1b2c3d4e5f6a7b8c9d0e channelOrderDisplayId: type: string description: A humanly-readable order reference. example: 609a1b2c3d4e5f6a7b8c9d0e validationId: type: string description: Validation ID returned from dispatch validation when used. example: 609a1b2c3d4e5f6a7b8c9d0e orderType: type: integer description: Order type. Use 1 for pickup, 2 for delivery, 3 for eat-in, and 4 for curbside. example: 1 deliveryIsAsap: type: boolean example: true pickupTime: type: string example: '2026-03-15T14:30:00Z' deliveryTime: type: string example: '2026-03-15T14:30:00Z' placedTime: type: string example: '2026-03-15T14:30:00Z' courier: type: string description: Who delivers the order. example: string ageCheck: type: boolean example: true deliveryAddress: type: object properties: street: type: string example: string streetNumber: type: string example: string postalCode: type: string example: string area: type: string example: string city: type: string example: string country: type: string example: BE extraAddressInfo: type: string example: string coordinates: type: object properties: latitude: type: number format: float example: 1.0 longitude: type: number format: float example: 1.0 verification: type: object properties: pincode: type: string example: string deliveryInfo: type: object properties: packageSize: type: string example: string transportType: type: string example: string decimalDigits: type: integer example: 1 payment: type: object properties: amount: type: integer example: 1250 type: type: integer example: 1 due: type: integer example: 1 required: - amount - type taxes: type: array items: type: object properties: taxClassId: type: integer example: 1 name: type: string example: Deliverect's Pizza Place total: type: integer example: 1250 taxRemitted: type: integer example: 1 items: type: array items: type: object properties: plu: type: string example: PIE1 name: type: string example: Deliverect's Pizza Place price: type: integer example: 1250 quantity: type: integer example: 1 remark: type: string example: No salad discountReferenceIds: type: array items: type: integer example: 1 subItems: type: array items: type: object properties: plu: type: string example: PIE1 name: type: string example: Deliverect's Pizza Place price: type: integer example: 1250 quantity: type: integer example: 1 remark: type: string example: No salad subItems: type: array items: type: object properties: plu: type: string example: PIE1 name: type: string example: Deliverect's Pizza Place price: type: integer example: 1250 quantity: type: integer example: 1 remark: type: string example: No salad subItems: type: array items: type: object includeCutlery: type: boolean example: true table: type: string example: string orderIsAlreadyPaid: type: boolean example: true note: type: string example: No salad numberOfCustomers: type: integer example: 1 customer: type: object properties: name: type: string example: Deliverect's Pizza Place companyName: type: string example: Deliverect's Pizza Place phoneNumber: type: string example: '+15555550123' phoneAccessCode: type: string example: '+15555550123' email: type: string example: customer@example.com tin: type: string example: string note: type: string example: No salad deliveryCost: type: integer example: 1250 deliveryCostTax: type: integer example: 1250 serviceCharge: type: integer example: 1 serviceChargeTax: type: integer example: 1 tip: type: integer example: 1250 driverTip: type: integer example: 1250 bagFee: type: integer example: 1250 discountTotal: type: integer example: 1250 discounts: type: array items: type: object properties: type: type: string example: string provider: type: string example: string name: type: string example: Deliverect's Pizza Place channelDiscountCode: type: string example: string referenceId: type: integer example: 1 value: type: integer example: 1 amount: type: integer example: 1250 required: - channelOrderId - channelOrderDisplayId - orderType - courier - payment examples: Create Order (Tax exclusive): summary: Create Order (Tax exclusive) value: channelOrderId: TEST****629 channelOrderDisplayId: T**629 validationId: 62********************3x orderType: 1 deliveryIsAsap: true pickupTime: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deliveryTime: YYYY-MM-DDTHH:mm:ss.SSSSSSZ placedTime: YYYY-MM-DDTHH:mm:ss.SSSSSSZ courier: restaurant ageCheck: false deliveryAddress: street: Adelaide Street East streetNumber: '207' postalCode: M5A1N4 area: Distillery District city: Toronto country: Canada extraAddressInfo: 1st floor coordinates: latitude: 43.65152 longitude: -79.37128 verification: pincode: '' deliveryInfo: packageSize: small transportType: bicycle decimalDigits: 2 payment: amount: 1800 type: 0 due: 0 taxes: - taxClassId: 0 name: taxes total: 77 taxRemitted: 77 items: - plu: P-SATE name: Chicken Sate price: 450 quantity: 1 remark: well done discountReferenceIds: - 1 subItems: - plu: RICE-01 name: White Rice price: 450 quantity: 1 subItems: - plu: SAUCE-01 name: Sate Sauce price: 50 quantity: 2 subItems: [] includeCutlery: false table: '' orderIsAlreadyPaid: true note: '' numberOfCustomers: 1 customer: name: Jane companyName: Doe phoneNumber: 0618776767 phoneAccessCode: '5040' email: test@test.com tin: '1234' note: call once you arrive deliveryCost: 300 deliveryCostTax: 0 serviceCharge: 400 serviceChargeTax: 0 tip: 200 driverTip: 0 bagFee: 0 discountTotal: -100 discounts: - type: order_flat_off provider: channel name: Test discount channelDiscountCode: test 1234 referenceId: 1 value: 100 amount: 100 Create Order (Tax inclusive): summary: Create Order (Tax inclusive) value: channelOrderId: TEST****628 channelOrderDisplayId: T**628 validationId: 62********************3w orderType: 1 deliveryIsAsap: true pickupTime: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deliveryTime: YYYY-MM-DDTHH:mm:ss.SSSSSSZ placedTime: YYYY-MM-DDTHH:mm:ss.SSSSSSZ courier: restaurant ageCheck: false deliveryAddress: street: Folgate Street streetNumber: '35' postalCode: E1 6BX area: Spitalfields city: London country: United Kingdom extraAddressInfo: Ground Floor, near Spitalfields Market coordinates: latitude: 51.51942 longitude: -0.07771 verification: pincode: '1234' deliveryInfo: packageSize: small transportType: bicycle decimalDigits: 2 payment: amount: 1800 type: 0 due: 0 taxes: [] taxRemitted: 0 items: - plu: P-SATE name: Chicken Sate price: 450 quantity: 1 remark: well done discountReferenceIds: - 1 subItems: - plu: RICE-01 name: White Rice price: 450 quantity: 1 subItems: - plu: SAUCE-01 name: Sate Sauce price: 50 quantity: 2 subItems: [] includeCutlery: false table: '' orderIsAlreadyPaid: true note: '' numberOfCustomers: 1 customer: name: John companyName: Doe phoneNumber: 0618776767 phoneAccessCode: '2105' email: test@test.com tin: '1234' note: call once you arrive deliveryCost: 300 deliveryCostTax: 0 serviceCharge: 400 serviceChargeTax: 0 tip: 200 driverTip: 0 bagFee: 0 discountTotal: -100 discounts: - type: order_flat_off provider: channel name: Test discount channelDiscountCode: test 1234 referenceId: 1 value: 100 amount: 100 Cancel Order: summary: Cancel Order value: channelOrderId: '{{channelOrderId}}' channelOrderDisplayId: '{{channelOrderDisplayId}}' cancellationReason: CANCELLATION status: 100 responses: '200': description: Successful response '201': content: application/json: schema: type: object properties: {} examples: Created: summary: Created value: '{}' description: Created '400': content: application/json: schema: type: object properties: {} examples: Bad Request: summary: Bad Request value: orderFieldsErrors: channelOrderId: Missing from the payload. channelOrderDisplayId: Missing from the payload. items: Missing from the payload. decimalDigits: Missing from the payload. orderPaymentErrors: amount: Missing from the payload. type: Missing from the payload. description: Bad Request '401': content: application/json: schema: type: object properties: {} examples: Unauthorized: summary: Unauthorized value: code: token_expired description: token is expired description: Unauthorized '404': content: application/json: schema: type: object properties: {} examples: Not Found: summary: Not Found value: message: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. description: Not Found '500': content: application/json: schema: type: object properties: {} examples: Internal Server Error: summary: Internal Server Error value: error: code: internal_server_error message: Internal server error description: Internal Server Error tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /channel/order_status: post: summary: Deliverect Order Status Update description: Deliverect Order Status Update operationId: channel_order_status responses: '200': description: '200' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /channel/prep_time: post: summary: Deliverect Preparation Time Update description: '{{YourSetwebhookUrl}}' operationId: channel_prep_time requestBody: content: application/json: schema: type: object properties: channelOrderId: type: string example: X7CESD orderId: type: string example: 5e****abc11dec0001****9b location: type: string example: 5e****abc11dec0001****0b status: type: integer example: 20 pickupTime: type: string format: date-time example: '2021-04-20T16:20:00Z' examples: channel_prep_time_request: summary: Default channel_prep_time request x-microcks-default: true value: channelOrderId: X7CESD orderId: 5e****abc11dec0001****9b location: 5e****abc11dec0001****0b status: 20 pickupTime: '2021-04-20T16:20:00Z' responses: '200': description: '200' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /channel/amendments: post: summary: Deliverect Amendments description: When a store processes amendments for one or more items within an order, this webhook will deliver the amendment details operationId: channel_amendments deprecated: false tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /{channelName}/updateRating: post: summary: Deliverect Order Rating Update description: Update rating for a previously placed order. operationId: post_channelname_updaterating parameters: - name: channelName in: path required: true schema: type: string default: my-channel description: The channelName value. example: my-channel requestBody: content: application/json: schema: type: object properties: channelOrderId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e orderDate: type: string format: date-time example: '2026-03-15T14:30:00Z' channelLinkId: type: string example: 5e8abc11dec0001a009b rating: type: array items: type: object properties: subject: type: integer example: 1 rating: type: integer example: 1 comment: type: string example: string reason: type: integer example: 1 required: - subject - rating required: - channelOrderId - orderDate - channelLinkId - rating examples: Order Rating Update: summary: Order Rating Update value: channelOrderId: CXTDBKMZ-1229 orderDate: '2021-04-13T11:53:34.453Z' channelLinkId: 606d8489fcd8eddf13b121a6 rating: - reason: 10000 rating: 5 comment: Food was amazing. subject: 1 - rating: 5 subject: 2 responses: '200': description: Successful response tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /crm/{accountId}/customers/{crmProfileId}/orders: get: description: Deliverect Customer Order History responses: '200': description: '' content: application/json: examples: OK: summary: OK value: total: 6 page: 1 size: 50 items: - id: 68f******************f2f crmProfileId: 68f******************24b orderId: 68f******************c86 accountId: 68d******************bdd channel: 20002 payment: amount: value: 100 currency: EUR display: '1.00' orderDisplayId: 20a2baad-2053-407c-b265-fa21c8a10758 orderDate: '2025-10-24T16:45:14.665000Z' orderType: 2 itemQuantity: 1 locationId: 68d81e687e6400e6581fc5a9 - id: 68f******************f29 crmProfileId: 68f******************24b orderId: 68f******************c76 accountId: 68d******************bdd channel: 20002 payment: amount: value: 100 currency: EUR display: '1.00' orderDisplayId: 3dd773b1-2844-44f1-b33d-0ebc7c7fe2cf orderDate: '2025-10-24T16:42:21.527000Z' orderType: 2 itemQuantity: 1 locationId: 68d81e687e6400e6581fc5a9 - id: 68fbab62640ae0b44384af1e crmProfileId: 68fb6af9a6e06e236a12824b orderId: 68fbab62a8a2ab7006c48c56 accountId: 68d81ae5bbd981dd03137bdd channel: 20002 payment: amount: value: 100 currency: EUR display: '1.00' orderDisplayId: cbb56e22-a7a4-4d99-b395-c5b01802b60b orderDate: '2025-10-24T16:37:54.649000Z' orderType: 2 itemQuantity: 1 locationId: 68d81e687e6400e6581fc5a9 - id: 68fba5ec640ae0b44384af18 crmProfileId: 68fb6af9a6e06e236a12824b orderId: 68fba5e7a8a2ab7006c48c45 accountId: 68d81ae5bbd981dd03137bdd channel: 20002 payment: amount: value: 100 currency: EUR display: '1.00' orderDisplayId: 29348ba1-7e64-42f5-bb9f-da09bf5eb788 orderDate: '2025-10-24T16:14:31.793000Z' orderType: 2 itemQuantity: 1 locationId: 68d81e687e6400e6581fc5a9 - id: 68fba571640ae0b44384af12 crmProfileId: 68fb6af9a6e06e236a12824b orderId: 68fba56da8a2ab7006c48c35 accountId: 68d81ae5bbd981dd03137bdd channel: 20002 payment: amount: value: 100 currency: EUR display: '1.00' orderDisplayId: 698c81f7-02e6-4c61-a09a-a681827e69d3 orderDate: '2025-10-24T16:12:29.863000Z' orderType: 2 itemQuantity: 1 locationId: 68d81e687e6400e6581fc5a9 - id: 68fba2d36b1fe97ada379842 crmProfileId: 68fb6af9a6e06e236a12824b orderId: 68fba2cdb4275fb21083f66a accountId: 68d81ae5bbd981dd03137bdd channel: 20002 payment: amount: value: 100 currency: EUR display: '1.00' orderDisplayId: 389e94bd-67f3-4cd5-8973-8784992657cb orderDate: '2025-10-24T16:01:16.088000Z' orderType: 2 itemQuantity: 1 locationId: 68d81e687e6400e6581fc5a9 schema: type: object properties: total: type: integer example: 6 default: 0 page: type: integer example: 1 default: 0 size: type: integer example: 50 default: 0 items: type: array items: type: object properties: id: type: string example: 68f******************f2f crmProfileId: type: string example: 68f******************24b orderId: type: string example: 68f******************c86 accountId: type: string example: 68d******************bdd channel: type: integer example: 20002 default: 0 payment: type: object properties: amount: type: object properties: value: type: integer example: 100 default: 0 currency: type: string example: EUR display: type: string example: '1.00' orderDisplayId: type: string example: 20a2baad-2053-407c-b265-fa21c8a10758 orderDate: type: string example: '2025-10-24T16:45:14.665000Z' orderType: type: integer example: 2 default: 0 itemQuantity: type: integer example: 1 default: 0 locationId: type: string example: 68d81e687e6400e6581fc5a9 parameters: - in: path name: crmProfileId schema: type: string required: true description: The crmProfileId value. example: 609a1b2c3d4e5f6a7b8c9d0e - in: path name: accountId schema: type: string required: true description: The accountId value. example: 5b71c6489f00290d4 tags: - Orders summary: Deliverect Customer Order History operationId: get_crm_accountid_customers_crmprofileid_orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /crm/{accountId}/orders/{crmOrderId}: get: description: Deliverect CRM Order responses: '200': description: '' content: application/json: examples: OK: summary: OK value: id: 698**************066 crmProfileId: 698**************4e9 orderId: 698**************e6f accountId: 68d**************bdd channel: 20000 payment: amount: value: 3100 currency: EUR display: '31.00' orderDisplayId: DISPLAY**************156c orderDate: '2026-02-12T15:23:25.967000Z' orderType: 3 itemQuantity: 1 locationId: 68d**************5a9 parameters: - in: path name: crmOrderId schema: type: string required: true description: The crmOrderId value. example: 609a1b2c3d4e5f6a7b8c9d0e - in: path name: accountId schema: type: string required: true description: The accountId value. example: 5b71c6489f00290d4 summary: Deliverect CRM Order tags: - Orders operationId: get_crm_accountid_orders_crmorderid x-microcks-operation: delay: 0 dispatcher: FALLBACK /crm/{accountId}/customers/{crmProfileId}/orders/favorites: get: description: Deliverect Customer Favorite Orders responses: '200': description: '' content: application/json: examples: OK: summary: OK value: id: 698**************066 crmProfileId: 698**************4e9 orderId: 698**************e6f accountId: 68d**************bdd channel: 20000 payment: amount: value: 3100 currency: EUR display: '31.00' orderDisplayId: DISPLAY**************156c orderDate: '2026-02-12T15:23:25.967000Z' orderType: 3 itemQuantity: 1 locationId: 68d**************5a9 parameters: - in: path name: crmProfileId schema: type: string required: true description: The crmProfileId value. example: 609a1b2c3d4e5f6a7b8c9d0e - in: path name: accountId schema: type: string required: true description: The accountId value. example: 5b71c6489f00290d4 summary: Deliverect Customer Favorite Orders tags: - Orders operationId: get_crm_accountid_customers_crmprofileid_orders_favorites x-microcks-operation: delay: 0 dispatcher: FALLBACK /kds_order_notification: post: description: Deliverect Kds_order_notification operationId: kds_order_notification responses: '200': description: '' parameters: [] x-readme: {} requestBody: content: application/json: schema: type: object properties: locationId: type: string example: 5cecc6489f0001b8 channelLinkId: type: string example: 5e8abc11dec0001a009b checkoutId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e status: type: string enum: - completed - failed example: completed reason: type: string example: string updatedAt: type: string example: '2026-03-15T14:30:00Z' required: - locationId - channelLinkId - checkoutId - status - reason - updatedAt examples: kds_order_notificationRequest: summary: Default kds_order_notification request x-microcks-default: true value: locationId: 5cecc6489f0001b8 channelLinkId: 5e8abc11dec0001a009b checkoutId: 609a1b2c3d4e5f6a7b8c9d0e status: completed reason: string updatedAt: '2026-03-15T14:30:00Z' summary: Deliverect Kds_order_notification tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /kds/order_status_update: post: description: Deliverect Kds_order_status_update responses: '200': description: '' parameters: [] operationId: kds_order_status_update x-readme: code-samples: - code: "{\n \"locationId\": \"68e79268f01c94e78a7d0e6f\",\n \"channelLinkId\": \"68e7927d80bf1e739f3d1b03\",\n \"checkoutId\": \"68ee33442744b20a958e024b\",\n \"status\": \"completed\",\n \"reason\": null,\n \"updatedAt\": \"2025-10-14T11:25:57.846719+00:00\"\n}" language: shell name: SUCCESS - code: "{\n \"locationId\": \"****01c94e78a7d0e6f\",\n \"channelLinkId\": \"68e7927d80bf1e739f3d1b03\",\n \"checkoutId\": \"68e***f01c94e78a7fe9b0\",\n \"status\": \"failed\",\n \"reason\": \"68****e78a7fe9b1: document not found\",\n \"updatedAt\": \"2025-10-09T16:09:43.691864+00:00\"\n }" language: shell name: FAILED samples-languages: - shell summary: Deliverect Kds_order_status_update tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /kds/orderStatus/{orderId}: post: tags: - Orders summary: Deliverect Update Order Status requestBody: content: application/json: schema: type: object properties: orderId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e status: type: integer example: 20 reason: type: string example: string required: - orderId - status examples: {} parameters: - name: orderId in: path schema: type: string required: true description: The orderId value. example: 609a1b2c3d4e5f6a7b8c9d0e responses: '200': description: Successful response content: application/json: examples: OK: summary: OK value: result: OK '400': content: application/json: schema: type: object properties: {} examples: Bad Request: summary: Bad Request value: '{}' description: Bad Request operationId: post_post_kds_orderstatus_orderid description: Deliverect Update Order Status x-microcks-operation: delay: 0 dispatcher: FALLBACK /orders: post: summary: Deliverect Order Notification description: '*This will be the same webhook endpoint set by the POS for Order Notifications' operationId: pos_ordercancel responses: '200': description: '200' content: application/json: examples: OK success: value: '' '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /orderStatus/{orderId}: post: description: Deliverect Post_orderstatus_orderid responses: '200': description: '' content: application/json: examples: OK: summary: OK value: result: OK Status Updated + Pickup time changed: summary: Status Updated + Pickup time changed value: result: OK pickupTime: '2023-02-09T13:00:38.006000Z' deliveryTime: YYYY-MM-DDTHH:mm:ss.SSSSSSZ '400': content: application/json: schema: type: object properties: {} examples: Bad Request: summary: Bad Request value: '{}' description: Bad Request parameters: - in: path name: orderId schema: type: string required: true description: The orderId value. example: 609a1b2c3d4e5f6a7b8c9d0e requestBody: content: application/json: schema: type: object required: - orderId - receiptId - status properties: orderId: type: string description: The original _id that was sent to the POS order webhook example: 609a1b2c3d4e5f6a7b8c9d0e receiptId: type: string description: Internal ID assigned by the POS, typically in a human-readable format for printed receipts. example: 609a1b2c3d4e5f6a7b8c9d0e status: type: integer description: Status to update example: 20 pickupTime: type: string format: date-time description: Updated pickupTime is in UTC yyyy-MM-ddTHH:mm:ssZ example: '2026-03-15T14:30:00Z' reason: type: string description: Reason for a status change e.g. 'ITEM OUT OF STOCK' example: string timeStamp: type: string format: date-time description: Timestamp when the status was applied example: '2026-03-15T14:30:00Z' examples: Failed Order: summary: Failed Order value: orderId: 63********************a7 status: 120 reason: Invalid PLU timeStamp: YYYY-MM-DDTHH:mm:ss.SSSSSSZ receiptId: '' Order Cancelled: summary: Order Cancelled value: orderId: 63********************a7 status: 110 reason: cancellation timeStamp: YYYY-MM-DDTHH:mm:ss.SSSSSSZ receiptId: '' Order Accepted + Pickup Time Updated: summary: Order Accepted + Pickup Time Updated value: orderId: 63********************a7 status: 20 receiptId: T3651A85-1 pickupTime: YYYY-MM-DDTHH:mm:ss.SSSSSSZ timeStamp: YYYY-MM-DDTHH:mm:ss.SSSSSSZ operationId: post_orderstatus_orderid summary: Deliverect Post_orderstatus_orderid tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /fulfillment/location/{orderId}: get: summary: Deliverect Order Delivery Update operationId: order_delivery_update parameters: - name: orderId in: path required: true schema: type: string description: The orderId value. example: 609a1b2c3d4e5f6a7b8c9d0e responses: '200': description: '200' content: application/json: schema: type: object required: - channelOrderId - orderId - location - status - deliveryETA - courier properties: channelOrderId: type: string example: channelOrderId orderId: type: string example: 5e****abc11dec0001****9b location: type: string example: 5e****abc11dec0001****9c status: type: integer example: 70 deliveryETA: type: string example: '2021-07-15 11:45:36.332906' courier: type: object required: - longitude - latitude properties: longitude: type: string example: '5.895168' latitude: type: string example: '53.370216' examples: Result: summary: Result value: channelOrderId: channelOrderId orderId: 5e****abc11dec0001****9b location: 5e****abc11dec0001****9c status: 70 deliveryETA: '2021-07-15 11:45:36.332906' courier: longitude: '5.895168' latitude: '53.370216' description: Deliverect Order Delivery Update tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK /updatePreparationTime: post: description: Deliverect Post_updatepreparationtime responses: '200': description: '' content: application/json: examples: OK: summary: OK value: '{}' '400': content: application/json: schema: type: object properties: {} examples: Bad Request: summary: Bad Request value: '{}' description: Bad Request parameters: [] requestBody: content: application/json: schema: type: object properties: order: type: string example: string minutes: type: integer example: 1 required: - minutes - order examples: Example: summary: Example value: order: '{orderId}' minutes: 15 operationId: post_updatepreparationtime summary: Deliverect Post_updatepreparationtime tags: - Orders x-microcks-operation: delay: 0 dispatcher: FALLBACK components: securitySchemes: oauth2: type: oauth2 description: OAuth 2.0 machine-to-machine client-credentials. Exchange client_id/client_secret at POST /oauth/token for a Bearer access_token. flows: clientCredentials: tokenUrl: https://api.deliverect.com/oauth/token scopes: {}