openapi: 3.1.0 info: title: Deliverect Channel Accounts Baskets 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: Baskets description: Baskets operations for the Deliverect Commerce API. paths: /commerce/{accountId}/baskets/recreate: post: description: Deliverect Recreate Basket responses: '200': description: '' content: application/json: examples: OK: summary: OK value: id: 65********************e2 channel: 20000 category: type: restaurant currency: USD taxExclusive: true status: open items: - id: 65********************27 menuId: 64********************7b plu: QS-01 name: Classic Quesadilla + Drink note: as much cheese as possible! quantity: 1 price: 529 gross: 698 taxes: - rate: 7000 name: GST amount: 49 net: 747 subItems: - customizationPlu: MOD-01 plu: DRNK-01 name: Coca Cola quantity: 1 price: 169 note: Extra cold please subItems: [] discounts: [] discountTotal: 0 - id: 691327c5d367f4588f9482fb menuId: 6902550da160cca419af2469 plu: '645611577' name: Chocolate Chip Cookie quantity: 2 price: 159 gross: 318 taxes: [] net: 318 subItems: [] discounts: [] discountTotal: 0 note: In seperate bag please payment: tips: [] discountsTotal: 0 chargesTotal: 0 taxTotal: 56 tipTotal: 0 subTotal: 1016 total: 1065 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' fulfillment: type: pickup time: null taxes: - name: SALES_TAX amount: 49 discounts: [] charges: serviceCharge: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 type: fixed bagFee: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 deliveryFee: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 taxTotal: 0 netTotal: 0 grossTotal: 0 created: YYYY-MM-DDTHH:mm:ss.SSSSSSZ updated: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deleted: false etag: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: 66********************d1 storeId: 67********************a8 channelLinkId: 67********************a8 channelOrderId: null channelOrderDisplayId: null schema: type: object properties: id: type: string example: 65********************e2 channel: type: integer example: 20000 default: 0 category: type: object properties: type: type: string example: restaurant currency: type: string example: USD taxExclusive: type: boolean example: true default: true status: type: string example: open items: type: array items: type: object properties: id: type: string example: 65********************27 menuId: type: string example: 64********************7b plu: type: string example: QS-01 name: type: string example: Classic Quesadilla + Drink note: type: string example: as much cheese as possible! quantity: type: integer example: 1 default: 0 price: type: integer example: 529 default: 0 gross: type: integer example: 698 default: 0 taxes: type: array items: type: object properties: rate: type: integer example: 7000 default: 0 name: type: string example: GST amount: type: integer example: 49 default: 0 net: type: integer example: 747 default: 0 subItems: type: array items: type: object properties: customizationPlu: type: string example: MOD-01 plu: type: string example: DRNK-01 name: type: string example: Coca Cola quantity: type: integer example: 1 default: 0 price: type: integer example: 169 default: 0 note: type: string example: Extra cold please subItems: type: array items: type: object properties: {} discounts: type: array items: type: object properties: {} discountTotal: type: integer example: 0 default: 0 payment: type: object properties: tips: type: array items: type: object properties: {} discountsTotal: type: integer example: 0 default: 0 chargesTotal: type: integer example: 0 default: 0 taxTotal: type: integer example: 56 default: 0 tipTotal: type: integer example: 0 default: 0 subTotal: type: integer example: 1016 default: 0 total: type: integer example: 1065 default: 0 customer: type: object properties: name: type: string example: John Doe companyName: type: string example: ACME phoneNumber: type: string example: '+3211223344' email: type: string example: john.doe@acme.com externalId: type: string example: crm-id-1234 tin: type: string example: '123456789' fulfillment: type: object properties: type: type: string example: pickup time: {} taxes: type: array items: type: object properties: name: type: string example: SALES_TAX amount: type: integer example: 49 default: 0 discounts: type: array items: type: object properties: {} charges: type: object properties: serviceCharge: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 type: type: string example: fixed bagFee: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 deliveryFee: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 taxTotal: type: integer example: 0 default: 0 netTotal: type: integer example: 0 default: 0 grossTotal: type: integer example: 0 default: 0 created: type: string example: YYYY-MM-DDTHH:mm:ss.SSSSSSZ updated: type: string example: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deleted: type: boolean example: false default: true etag: type: string example: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: type: string example: 66********************d1 storeId: type: string example: 67********************a8 channelLinkId: type: string example: 67********************a8 channelOrderId: {} channelOrderDisplayId: {} '422': content: application/json: schema: type: object properties: code: type: string example: product_snoozed message: type: string example: Product is currently snoozed context: type: object properties: menuId: type: string example: 63********************b5 plu: type: string example: '123' examples: Unprocessable Entity: summary: Unprocessable Entity value: code: product_snoozed message: Product is currently snoozed context: menuId: 63********************b5 plu: '123' description: Unprocessable Entity parameters: - in: path name: accountId schema: type: string required: true description: The accountId value. example: 5b71c6489f00290d4 operationId: post_commerce_accountid_baskets_recreate requestBody: content: application/json: schema: type: object properties: storeId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e orderId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e required: - storeId - orderId examples: post_commerce_accountid_baskets_recreateRequest: summary: Default post_commerce_accountid_baskets_recreate request x-microcks-default: true value: storeId: 609a1b2c3d4e5f6a7b8c9d0e orderId: 609a1b2c3d4e5f6a7b8c9d0e summary: Deliverect Recreate Basket tags: - Baskets x-microcks-operation: delay: 0 dispatcher: FALLBACK /commerce/{accountId}/baskets: post: tags: - Baskets summary: Deliverect Create Basket description: This endpoint creates a Basket for the store. operationId: commerce_channel_api_baskets_create_basket parameters: - name: accountId in: path schema: type: string default: '' required: true description: The accountId value. example: 5b71c6489f00290d4 requestBody: content: application/json: schema: type: object required: - channelLinkId properties: channelLinkId: type: string description: ID of the store the basket is happening for. default: '' example: 5e8abc11dec0001a009b fulfillment: type: object required: - type properties: type: type: string default: pickup enum: - pickup - delivery - eatIn - dispatch example: pickup items: type: array items: properties: menuId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e plu: type: string default: 3F_COMBO example: 3F_COMBO quantity: type: integer default: 2 format: int32 example: 2 note: type: string example: No salad subItems: type: array items: properties: plu: type: string default: A_FRS example: A_FRS customizationPlu: type: string example: string quantity: type: integer default: 1 format: int32 example: 1 note: type: string example: No salad required: - plu - customizationPlu - quantity type: object required: - menuId - plu - quantity type: object 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' email: type: string example: customer@example.com externalId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e tin: type: string example: string crmProfileId: type: string description: If the order is to be assigned to a CRM customer, this fields needs to have a valid crmProfileId. example: 609a1b2c3d4e5f6a7b8c9d0e examples: pickup: value: storeId: 67********************2c fulfillment: type: pickup time: YYYY-MM-DDTHH:mm:ss.SSSSSSZ items: - menuId: 62********************3w plu: PR1234 quantity: 2 note: extra salt please subItems: - plu: MOD123 customizationPlu: CATOPT3 quantity: 1 - menuId: 62********************3w plu: PR5678 quantity: 1 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' delivery: value: storeId: 67********************2c fulfillment: type: delivery address: line: 5030 W Lovers Ln, Dallas, TX 75209, US subpremise: Floor 1, Left Door street: 5030 W Lovers Ln area: Bluffview city: Dallas postalCode: '75209' stateOrProvince: TX country: US coordinates: - 32.850713 - -96.828014 note: first floor, left door, happy dog items: - menuId: 62********************3w plu: PR1234 quantity: 2 note: extra salt please subItems: - plu: MOD123 customizationPlu: CATOPT2 quantity: 1 - menuId: 62********************3w plu: PR5678 quantity: 1 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' eat-in: value: storeId: 67********************2c fulfillment: type: eatIn spot: table-5 items: - menuId: 62********************3w plu: PR1234 quantity: 2 note: extra salt please subItems: - plu: MOD123 customizationPlu: CATOPT2 quantity: 1 - menuId: 62********************3w plu: PR5678 quantity: 1 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' curbside: summary: curbside value: storeId: 67********************2c fulfillment: type: curbside time: YYYY-MM-DDTHH:mm:ss.SSSSSSZ pickupNotes: Yellow Honda items: - menuId: 62********************3w plu: PR1234 quantity: 2 note: extra salt please subItems: - plu: MOD123 customizationPlu: CATOPT3 quantity: 1 - menuId: 62********************3w plu: PR5678 quantity: 1 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' Group: summary: Group value: storeId: 67********************2c fulfillment: type: pickup time: YYYY-MM-DDTHH:mm:ss.SSSSSSZ items: [] group: customers: - role: host name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' - role: guest name: Patrick Doe companyName: ACME phoneNumber: '+3211223344' email: patrick.doe@acme.com externalId: crm-id-1235 tin: '123456790' customer: null responses: '200': description: '200' content: application/json: examples: OK: value: id: 65********************e2 channel: 10001 category: type: restaurant currency: USD taxExclusive: true status: open items: - id: 65********************27 menuId: 64********************7b plu: DRNK-01 name: Coca Cola quantity: 1 price: 219 gross: 219 taxes: - rate: 7000 name: GST amount: 15 net: 234 subItems: [] discounts: [] discountTotal: 0 - id: 65********************e2 menuId: 64********************7b plu: QS-01 name: Classic Quesadilla + Drink quantity: 1 price: 399 gross: 399 taxes: - rate: 7000 name: GST amount: 28 net: 427 subItems: - customizationPlu: MOD-01 plu: GR-CH name: Green Chillis quantity: 1 price: 0 subItems: [] - customizationPlu: INGR-1 plu: '645611577' name: No Onions quantity: 1 price: 0 subItems: - customizationPlu: SUB-01 plu: 654267959-655503030 name: Spring Onion quantity: 1 price: 0 subItems: [] discounts: [] discountTotal: 0 donations: [] payment: tips: [] donationTotal: 0 discountsTotal: 0 chargesTotal: 0 taxTotal: 43 tipTotal: 0 subTotal: 618 total: 661 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' crmProfileId: 67********************a8 fulfillment: type: delivery address: line: 8719 Avenue D, Brooklyn, NY, 11236, US street: 8719 Avenue D city: Brooklyn postalCode: '11236' stateOrProvince: NY country: US coordinates: - 40.6456946 - -73.9143276 note: first floor, left door, happy dog pickupNotes: Yellow Honda taxes: - name: GST amount: 43 discounts: [] charges: serviceCharge: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 type: fixed bagFee: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 deliveryFee: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 taxTotal: 0 netTotal: 0 grossTotal: 0 preparationTime: 0 preparationDelayTime: 0 created: YYYY-MM-DDTHH:mm:ss.SSSSSSZ updated: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deleted: false etag: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: 66********************d1 storeId: 67********************a8 channelLinkId: 67********************a8 summary: OK OK - Group: summary: OK - Group value: id: 65********************e2 channel: 20000 category: type: restaurant currency: USD taxExclusive: true status: open items: [] payment: tips: [] discountsTotal: 0 chargesTotal: 0 taxTotal: 56 tipTotal: 0 subTotal: 1016 total: 1065 group: customers: - id: 691327c5d367f4588f948201 role: host name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' - id: 691327c5d367f4588f948202 role: guest name: Patrick Doe companyName: ACME phoneNumber: '+3211223344' email: patrick.doe@acme.com externalId: crm-id-1235 tin: '123456790' customer: null fulfillment: type: pickup time: null pickupNotes: Yellow Honda taxes: - name: SALES_TAX amount: 49 discounts: [] charges: serviceCharge: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 type: fixed bagFee: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 deliveryFee: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 taxTotal: 0 netTotal: 0 grossTotal: 0 created: YYYY-MM-DDTHH:mm:ss.SSSSSSZ updated: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deleted: false etag: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: 66********************d1 storeId: 67********************a8 channelLinkId: 67********************a8 channelOrderId: null channelOrderDisplayId: null schema: type: object properties: id: type: string example: 65********************e2 channel: type: integer example: 20000 default: 0 category: type: object properties: type: type: string example: restaurant currency: type: string example: USD taxExclusive: type: boolean example: true default: true status: type: string example: open items: type: array items: type: object properties: {} payment: type: object properties: tips: type: array items: type: object properties: {} discountsTotal: type: integer example: 0 default: 0 chargesTotal: type: integer example: 0 default: 0 taxTotal: type: integer example: 56 default: 0 tipTotal: type: integer example: 0 default: 0 subTotal: type: integer example: 1016 default: 0 total: type: integer example: 1065 default: 0 group: type: object properties: customers: type: array items: type: object properties: id: type: string example: 691327c5d367f4588f948201 role: type: string example: host name: type: string example: John Doe companyName: type: string example: ACME phoneNumber: type: string example: '+3211223344' email: type: string example: john.doe@acme.com externalId: type: string example: crm-id-1234 tin: type: string example: '123456789' crmProfileId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e 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' email: type: string example: customer@example.com externalId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e tin: type: string example: string crmProfileId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e fulfillment: type: object properties: type: type: string example: pickup time: {} pickupNotes: type: string example: Yellow Honda taxes: type: array items: type: object properties: name: type: string example: SALES_TAX amount: type: integer example: 49 default: 0 discounts: type: array items: type: object properties: {} charges: type: object properties: serviceCharge: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 type: type: string example: fixed bagFee: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 deliveryFee: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 taxTotal: type: integer example: 0 default: 0 netTotal: type: integer example: 0 default: 0 grossTotal: type: integer example: 0 default: 0 created: type: string example: YYYY-MM-DDTHH:mm:ss.SSSSSSZ updated: type: string example: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deleted: type: boolean example: false default: true etag: type: string example: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: type: string example: 66********************d1 storeId: type: string example: 67********************a8 channelLinkId: type: string example: 67********************a8 channelOrderId: {} channelOrderDisplayId: {} '422': content: application/json: schema: type: object properties: code: type: string example: string message: type: string example: string context: type: object properties: menuId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e plu: type: string example: PIE1 required: - plu - menuId required: - code - context - message examples: Unprocessable Entity (busy mode): summary: Unprocessable Entity (busy mode) value: code: store_paused message: Store is currently paused and cannot accept ASAP orders. context: {} traceId: 29441889ccd7213e Unprocessable Entity (product(s) snoozed): summary: Unprocessable Entity (product(s) snoozed) value: code: product_snoozed message: Product is currently snoozed context: menuId: 63********************b5 plu: '123' description: Unprocessable Entity deprecated: false x-microcks-operation: delay: 0 dispatcher: FALLBACK /commerce/{accountId}/baskets/{basketId}: get: tags: - Baskets summary: Deliverect Get Basket description: Deliverect Get Basket operationId: commerce_channel_api_baskets_get_basket parameters: - name: accountId in: path schema: type: string required: true description: The accountId value. example: 5b71c6489f00290d4 - name: basketId in: path schema: type: string required: true description: The basketId value. example: 609a1b2c3d4e5f6a7b8c9d0e responses: '200': description: '200' content: application/json: examples: Result: value: id: 6643782d0c1914c93a846834 created: '2024-05-14T14:41:49.738000+00:00' updated: '2024-05-14T14:41:49.754000+00:00' deleted: false etag: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: 65c35d109a19b819b7cf78d8 storeId: 65eee6a9984a1bc1b9637c59 channelLinkId: 65eee6a9984a1bc1b9637c59 channelOrderId: null channelOrderDisplayId: null currency: EUR taxExclusive: false status: open items: - menuId: 62d7f77f64c95193cc29aa91 plu: STK-01 name: Delicious Steak Frites quantity: 2 note: extra salt please price: 1500 gross: 3800 taxes: [] net: 3800 subItems: - customizationPlu: MOD-01 plu: DRNK-01 name: Coca Cola quantity: 1 price: 400 subItems: [] discounts: [] discountTotal: 0 - menuId: 62d7f77f64c95193cc29aa91 plu: STK-01 name: Delicious Steak Frites quantity: 1 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 payment: tips: [] discountsTotal: 0 chargesTotal: 0 taxTotal: 0 tipTotal: 0 total: 5300 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 fulfillment: type: pickup charges: taxTotal: 0 netTotal: 0 grossTotal: 0 serviceCharge: type: fixed value: 0 taxRate: 0 gross: 0 bagFee: type: fixed value: 0 taxRate: 0 gross: 0 deliveryFee: type: fixed value: 0 taxRate: 0 gross: 0 taxes: [] discounts: [] schema: type: object properties: id: type: string example: 6643782d0c1914c93a846834 created: type: string example: '2024-05-14T14:41:49.738000+00:00' updated: type: string example: '2024-05-14T14:41:49.754000+00:00' deleted: type: boolean example: false default: true etag: type: string example: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: type: string example: 65c35d109a19b819b7cf78d8 storeId: type: string example: 65eee6a9984a1bc1b9637c59 channelOrderId: {} channelOrderDisplayId: {} currency: type: string example: EUR taxExclusive: type: boolean example: false default: true status: type: string example: open items: type: array items: type: object properties: menuId: type: string example: 62d7f77f64c95193cc29aa91 plu: type: string example: STK-01 name: type: string example: Delicious Steak Frites quantity: type: integer example: 2 default: 0 note: type: string example: extra salt please price: type: integer example: 1500 default: 0 gross: type: integer example: 3800 default: 0 taxes: type: array net: type: integer example: 3800 default: 0 subItems: type: array items: type: object properties: customizationPlu: type: string example: MOD-01 plu: type: string example: DRNK-01 name: type: string example: Coca Cola quantity: type: integer example: 1 default: 0 price: type: integer example: 400 default: 0 subItems: type: array discounts: type: array discountTotal: type: integer example: 0 default: 0 payment: type: object properties: tips: type: array discountsTotal: type: integer example: 0 default: 0 chargesTotal: type: integer example: 0 default: 0 taxTotal: type: integer example: 0 default: 0 tipTotal: type: integer example: 0 default: 0 total: type: integer example: 5300 default: 0 customer: type: object properties: name: type: string example: John Doe companyName: type: string example: ACME phoneNumber: type: string example: '+3211223344' email: type: string example: john.doe@acme.com externalId: type: string example: crm-id-1234 fulfillment: type: object properties: type: type: string example: pickup charges: type: object properties: taxTotal: type: integer example: 0 default: 0 netTotal: type: integer example: 0 default: 0 grossTotal: type: integer example: 0 default: 0 serviceCharge: type: object properties: type: type: string example: fixed value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 bagFee: type: object properties: type: type: string example: fixed value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 deliveryFee: type: object properties: type: type: string example: fixed value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 taxes: type: array discounts: type: array '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-microcks-operation: delay: 0 dispatcher: FALLBACK /commerce/{accountId}/baskets/{basketId}/validate: post: description: Deliverect Post_commerce_accountid_baskets_basketid_validate responses: '200': description: '' content: application/json: examples: OK: summary: OK value: id: 65********************e2 channel: 20000 category: type: restaurant currency: USD taxExclusive: true status: open items: - id: 65********************27 menuId: 64********************7b plu: QS-01 name: Classic Quesadilla + Drink note: as much cheese as possible! quantity: 1 price: 529 gross: 698 taxes: - rate: 7000 name: GST amount: 49 net: 747 subItems: - customizationPlu: MOD-01 plu: DRNK-01 name: Coca Cola quantity: 1 price: 169 note: Extra cold please subItems: [] discounts: [] discountTotal: 0 - id: 691327c5d367f4588f9482fb menuId: 6902550da160cca419af2469 plu: '645611577' name: Chocolate Chip Cookie quantity: 2 price: 159 gross: 318 taxes: [] net: 318 subItems: [] discounts: [] discountTotal: 0 note: In seperate bag please payment: tips: [] discountsTotal: 0 chargesTotal: 0 taxTotal: 56 tipTotal: 0 subTotal: 1016 total: 1065 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' fulfillment: type: pickup time: null taxes: - name: SALES_TAX amount: 49 discounts: [] charges: serviceCharge: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 type: fixed bagFee: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 deliveryFee: value: 0 taxRate: 0 gross: 0 tax: 0 net: 0 taxTotal: 0 netTotal: 0 grossTotal: 0 created: YYYY-MM-DDTHH:mm:ss.SSSSSSZ updated: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deleted: false etag: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: 66********************d1 storeId: 67********************a8 channelLinkId: 67********************a8 channelOrderId: null channelOrderDisplayId: null schema: type: object properties: id: type: string example: 65********************e2 channel: type: integer example: 20000 default: 0 category: type: object properties: type: type: string example: restaurant currency: type: string example: USD taxExclusive: type: boolean example: true default: true status: type: string example: open items: type: array items: type: object properties: id: type: string example: 65********************27 menuId: type: string example: 64********************7b plu: type: string example: QS-01 name: type: string example: Classic Quesadilla + Drink note: type: string example: as much cheese as possible! quantity: type: integer example: 1 default: 0 price: type: integer example: 529 default: 0 gross: type: integer example: 698 default: 0 taxes: type: array items: type: object properties: rate: type: integer example: 7000 default: 0 name: type: string example: GST amount: type: integer example: 49 default: 0 net: type: integer example: 747 default: 0 subItems: type: array items: type: object properties: customizationPlu: type: string example: MOD-01 plu: type: string example: DRNK-01 name: type: string example: Coca Cola quantity: type: integer example: 1 default: 0 price: type: integer example: 169 default: 0 note: type: string example: Extra cold please subItems: type: array items: type: object properties: {} discounts: type: array items: type: object properties: {} discountTotal: type: integer example: 0 default: 0 payment: type: object properties: tips: type: array items: type: object properties: {} discountsTotal: type: integer example: 0 default: 0 chargesTotal: type: integer example: 0 default: 0 taxTotal: type: integer example: 56 default: 0 tipTotal: type: integer example: 0 default: 0 subTotal: type: integer example: 1016 default: 0 total: type: integer example: 1065 default: 0 customer: type: object properties: name: type: string example: John Doe companyName: type: string example: ACME phoneNumber: type: string example: '+3211223344' email: type: string example: john.doe@acme.com externalId: type: string example: crm-id-1234 tin: type: string example: '123456789' fulfillment: type: object properties: type: type: string example: pickup time: {} taxes: type: array items: type: object properties: name: type: string example: SALES_TAX amount: type: integer example: 49 default: 0 discounts: type: array items: type: object properties: {} charges: type: object properties: serviceCharge: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 type: type: string example: fixed bagFee: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 deliveryFee: type: object properties: value: type: integer example: 0 default: 0 taxRate: type: integer example: 0 default: 0 gross: type: integer example: 0 default: 0 tax: type: integer example: 0 default: 0 net: type: integer example: 0 default: 0 taxTotal: type: integer example: 0 default: 0 netTotal: type: integer example: 0 default: 0 grossTotal: type: integer example: 0 default: 0 created: type: string example: YYYY-MM-DDTHH:mm:ss.SSSSSSZ updated: type: string example: YYYY-MM-DDTHH:mm:ss.SSSSSSZ deleted: type: boolean example: false default: true etag: type: string example: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: type: string example: 66********************d1 storeId: type: string example: 67********************a8 channelLinkId: type: string example: 67********************a8 channelOrderId: {} channelOrderDisplayId: {} '422': content: application/json: schema: type: object properties: {} examples: Unprocessable Entity: summary: Unprocessable Entity value: code: product_snoozed message: Product is currently snoozed context: menuId: 63********************b5 plu: '123' description: Unprocessable Entity parameters: - in: path name: accountId schema: type: string required: true description: The accountId value. example: 5b71c6489f00290d4 - in: path name: basketId schema: type: string required: true description: The basketId value. example: 609a1b2c3d4e5f6a7b8c9d0e operationId: post_commerce_accountid_baskets_basketid_validate summary: Deliverect Post_commerce_accountid_baskets_basketid_validate tags: - Baskets x-microcks-operation: delay: 0 dispatcher: FALLBACK /commerce/{accountId}/baskets/{basketId}/items: patch: tags: - Baskets summary: Deliverect Update Basket - Item(s) description: Deliverect Update Basket - Item(s) operationId: commerce_channel_api_baskets_update_basket_items parameters: - name: accountId in: path schema: type: string default: 668e4aa170efd23c474b2ad1 required: true description: The accountId value. example: 668e4aa170efd23c474b2ad1 - name: basketId in: path schema: type: string required: true description: The basketId value. example: 609a1b2c3d4e5f6a7b8c9d0e requestBody: content: application/json: schema: type: object properties: {} examples: commerce_channel_api_baskets_update_basket_items_request: summary: Default commerce_channel_api_baskets_update_basket_items request x-microcks-default: true value: {} responses: '200': description: '200' content: application/json: examples: Result: value: id: 663dff85512e27ec790fe713 created: '2024-05-10T11:05:41.194000+00:00' updated: '2024-05-10T11:05:41.226000+00:00' deleted: false etag: 4f95244e98557fec08e449e767afb340842cf4f2 accountId: 65c35d109a19b819b7cf78d8 storeId: 65eee6a9984a1bc1b9637c59 channelLinkId: 65eee6a9984a1bc1b9637c59 channelOrderId: null channelOrderDisplayId: null currency: EUR taxExclusive: false status: open items: - plu: PLU-1 quantity: 1 note: extra salt please menuId: 662fa50c9ddcfc5397580587 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 - plu: PLU-2 quantity: 1 menuId: 662fa50c9ddcfc5397580587 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 - plu: PLU-3 quantity: 1 menuId: 662fa50c9ddcfc5397580587 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 payment: tips: [] discountsTotal: 0 taxTotal: 0 tipTotal: 0 total: 4500 customer: null fulfillment: type: pickup taxes: [] discounts: [] Group Basket: summary: Group Basket value: id: 663dff85512e27ec790fe713 created: '2024-05-10T11:05:41.194000+00:00' updated: '2024-05-10T11:05:41.226000+00:00' deleted: false etag: 4f95244e98557fec08e449e767afb340842cf4f2 accountId: 65c35d109a19b819b7cf78d8 storeId: 65eee6a9984a1bc1b9637c59 channelLinkId: 65eee6a9984a1bc1b9637c59 channelOrderId: null channelOrderDisplayId: null currency: EUR taxExclusive: false status: open items: - plu: PLU-1 quantity: 1 note: extra salt please menuId: 662fa50c9ddcfc5397580587 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 customerId: 691327c5d367f4588f948201 - plu: PLU-2 quantity: 1 menuId: 662fa50c9ddcfc5397580587 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 customerId: 691327c5d367f4588f948201 - plu: PLU-3 quantity: 1 menuId: 662fa50c9ddcfc5397580587 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 customerId: 691327c5d367f4588f948202 group: customers: - id: 691327c5d367f4588f948201 role: host name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' - id: 691327c5d367f4588f948202 role: guest name: Patrick Doe companyName: ACME phoneNumber: '+3211223344' email: patrick.doe@acme.com externalId: crm-id-1235 tin: '123456790' customer: null payment: tips: [] discountsTotal: 0 taxTotal: 0 tipTotal: 0 total: 4500 fulfillment: type: pickup taxes: [] discounts: [] schema: type: object properties: id: type: string example: 663dff85512e27ec790fe713 created: type: string example: '2024-05-10T11:05:41.194000+00:00' updated: type: string example: '2024-05-10T11:05:41.226000+00:00' deleted: type: boolean example: false default: true etag: type: string example: 4f95244e98557fec08e449e767afb340842cf4f2 accountId: type: string example: 65c35d109a19b819b7cf78d8 storeId: type: string example: 65eee6a9984a1bc1b9637c59 channelOrderId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e channelOrderDisplayId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e currency: type: string example: EUR taxExclusive: type: boolean example: false default: true status: type: string example: open items: type: array items: type: object properties: plu: type: string example: PLU-1 quantity: type: integer example: 1 default: 0 note: type: string example: extra salt please menuId: type: string example: 662fa50c9ddcfc5397580587 price: type: integer example: 1500 default: 0 gross: type: integer example: 1500 default: 0 taxes: type: array net: type: integer example: 1500 default: 0 subItems: type: array discounts: type: array discountTotal: type: integer example: 0 default: 0 payment: type: object properties: tips: type: array discountsTotal: type: integer example: 0 default: 0 taxTotal: type: integer example: 0 default: 0 tipTotal: type: integer example: 0 default: 0 total: type: integer example: 4500 default: 0 customer: {} fulfillment: type: object properties: type: type: string example: pickup taxes: type: array discounts: type: array '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-microcks-operation: delay: 0 dispatcher: FALLBACK /commerce/{accountId}/baskets/{basketId}/customer: patch: tags: - Baskets summary: Deliverect Update Basket - Customer description: Deliverect Update Basket - Customer operationId: commerce_channel_api_baskets_update_basket_customer parameters: - name: accountId in: path schema: type: string default: 668e4aa170efd23c474b2ad1 required: true description: The accountId value. example: 668e4aa170efd23c474b2ad1 - name: basketId in: path schema: type: string required: true description: The basketId value. example: 609a1b2c3d4e5f6a7b8c9d0e requestBody: content: application/json: schema: type: object properties: name: type: string example: Deliverect's Pizza Place companyName: type: string example: Deliverect's Pizza Place email: type: string example: customer@example.com phoneNumber: type: string example: '+15555550123' externalId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e tin: type: string example: string examples: Sample Customer: value: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' loyaltyProviderCustomerId: 17dh89 responses: '200': description: '200' content: application/json: examples: Result: value: id: 6643782d0c1914c93a846834 created: '2024-05-14T14:41:49.738000+00:00' updated: '2024-05-14T14:41:49.754000+00:00' deleted: false etag: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: 65c35d109a19b819b7cf78d8 storeId: 65eee6a9984a1bc1b9637c59 channelLinkId: 65eee6a9984a1bc1b9637c59 channelOrderId: null channelOrderDisplayId: null currency: EUR taxExclusive: false status: open items: - menuId: 62d7f77f64c95193cc29aa91 plu: STK-01 name: Delicious Steak Frites quantity: 2 price: 1500 gross: 3800 taxes: [] net: 3800 subItems: - customizationPlu: MOD-01 plu: DRNK-01 name: Coca Cola quantity: 1 price: 400 subItems: [] discounts: [] discountTotal: 0 - menuId: 62d7f77f64c95193cc29aa91 plu: STK-01 name: Delicious Steak Frites quantity: 1 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 payment: tips: [] discountsTotal: 0 taxTotal: 0 tipTotal: 0 total: 5300 customer: name: John Doe companyName: ACME phoneNumber: '+3211223344' email: john.doe@acme.com externalId: crm-id-1234 tin: '123456789' loyaltyProviderCustomerId: 17dh89 fulfillment: type: pickup taxes: [] discounts: [] schema: type: object properties: id: type: string example: 6643782d0c1914c93a846834 created: type: string example: '2024-05-14T14:41:49.738000+00:00' updated: type: string example: '2024-05-14T14:41:49.754000+00:00' deleted: type: boolean example: false default: true etag: type: string example: f4c8f20eeb23206c2bc8cf66c2843a6efaa3eaaf accountId: type: string example: 65c35d109a19b819b7cf78d8 storeId: type: string example: 65eee6a9984a1bc1b9637c59 channelOrderId: {} channelOrderDisplayId: {} currency: type: string example: EUR taxExclusive: type: boolean example: false default: true status: type: string example: open items: type: array items: type: object properties: menuId: type: string example: 62d7f77f64c95193cc29aa91 plu: type: string example: STK-01 name: type: string example: Delicious Steak Frites quantity: type: integer example: 2 default: 0 price: type: integer example: 1500 default: 0 gross: type: integer example: 3800 default: 0 taxes: type: array net: type: integer example: 3800 default: 0 subItems: type: array items: type: object properties: customizationPlu: type: string example: MOD-01 plu: type: string example: DRNK-01 name: type: string example: Coca Cola quantity: type: integer example: 1 default: 0 price: type: integer example: 400 default: 0 subItems: type: array discounts: type: array discountTotal: type: integer example: 0 default: 0 payment: type: object properties: tips: type: array discountsTotal: type: integer example: 0 default: 0 taxTotal: type: integer example: 0 default: 0 tipTotal: type: integer example: 0 default: 0 total: type: integer example: 5300 default: 0 customer: type: object properties: name: type: string example: John Doe companyName: type: string example: ACME phoneNumber: type: string example: '+3211223344' email: type: string example: john.doe@acme.com externalId: type: string example: crm-id-1234 tin: type: string example: string loyaltyProviderCustomerId: type: string description: '' example: 609a1b2c3d4e5f6a7b8c9d0e fulfillment: type: object properties: type: type: string example: pickup taxes: type: array discounts: type: array '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-microcks-operation: delay: 0 dispatcher: FALLBACK /commerce/{accountId}/baskets/{basketId}/discounts: patch: tags: - Baskets summary: Deliverect Update Basket - Discount(s) description: Deliverect Update Basket - Discount(s) operationId: commerce_channel_api_baskets_update_basket_discounts parameters: - name: accountId in: path schema: type: string required: true description: The accountId value. example: 5b71c6489f00290d4 - name: basketId in: path schema: type: string required: true description: The basketId value. example: 609a1b2c3d4e5f6a7b8c9d0e requestBody: content: application/json: schema: type: array description: discounts items: type: object properties: type: type: string example: order_flat_off provider: type: string enum: - restaurant - coupon - loyalty example: coupon amount: type: integer format: int32 example: 100 value: type: integer format: int32 example: 1000 name: type: string example: CONGRATS! HERE IS 1 EUR OFF plu: type: string example: DLX-3 menuId: type: string example: 668f7ff64dc853**c96**877 externalId: type: string nullable: true example: discount-123 itemIds: type: array items: type: string example: string example: - 6900f2f01306779be71e7b8e required: - type - provider examples: order_flat_off: value: - type: order_flat_off provider: coupon amount: 100 name: CONGRATS! HERE IS 1 EUR OFF order_percent_off: value: - type: order_percent_off provider: restaurant value: 1000 name: CONGRATS10% OFF item_free: value: - provider: restaurant name: Free coke type: item_free plu: DLX-3 menuId: 69d4c198e1c58591f461cb4a externalId: discount-123 item_bogof: value: - provider: restaurant name: '' type: item_bogof plu: DLX-3 menuId: 69d4c198e1c58591f461cb4a externalId: discount-bogo item_flat_off: summary: item_flat_off value: - type: item_flat_off provider: restaurant externalId: discount-item-flat-123 name: 'Item flat off: $5' menuId: 668f7ff64dc853**c96**877 value: 5000 itemIds: - 6900f2f01306779be71e7b8e item_percent_off: summary: item_percent_off value: - type: item_percent_off provider: restaurant externalId: discount-123 name: 'Item percent off: 25%' menuId: 69d4c198e1c58591f461cb4a value: 2500 itemIds: - 6900f2f01306779be71e7b8e wallet_cash: summary: wallet_cash value: - type: wallet_cash value: 1000 provider: loyalty externalId: null compensation_card: summary: compensation_card value: - type: compensation_card provider: restaurant externalId: cardnumber-123 value: 5000 name: Compensation card for $5 responses: '200': description: '200' content: application/json: examples: Result: value: id: 6643782d0c1914c93a846834 created: '2024-05-14T14:41:49.738000+00:00' updated: '2024-05-14T15:19:37.173000+00:00' deleted: false etag: c2046a6b9c21b9ebb38f8094c0a3ca02240742b3 accountId: 65c35d109a19b819b7cf78d8 storeId: 65eee6a9984a1bc1b9637c59 channelLinkId: 65eee6a9984a1bc1b9637c59 channelOrderId: null channelOrderDisplayId: null currency: EUR taxExclusive: false status: open items: - menuId: 62d7f77f64c95193cc29aa91 plu: STK-01 name: Delicious Steak Frites quantity: 1 price: 1500 gross: 1500 taxes: [] net: 1450 subItems: [] discounts: - referenceId: 1 amount: 50 discountTotal: 50 payment: tips: [] discountsTotal: 50 taxTotal: 0 tipTotal: 0 total: 1450 customer: name: Test companyName: Company LTDA phoneNumber: '12345' email: test@email.com fulfillment: type: pickup taxes: [] discounts: - type: order_flat_off referenceId: 1 amount: 50 provider: restaurant name: CONGRATS! HERE'S 5 EUR OFF schema: type: object properties: id: type: string example: 6643782d0c1914c93a846834 created: type: string example: '2024-05-14T14:41:49.738000+00:00' updated: type: string example: '2024-05-14T15:19:37.173000+00:00' deleted: type: boolean example: false default: true etag: type: string example: c2046a6b9c21b9ebb38f8094c0a3ca02240742b3 accountId: type: string example: 65c35d109a19b819b7cf78d8 storeId: type: string example: 65eee6a9984a1bc1b9637c59 channelLinkId: type: string example: 65eee6a9984a1bc1b9637c59 channelOrderId: {} channelOrderDisplayId: {} currency: type: string example: EUR taxExclusive: type: boolean example: false default: true status: type: string example: open items: type: array items: type: object properties: menuId: type: string example: 62d7f77f64c95193cc29aa91 plu: type: string example: STK-01 name: type: string example: Delicious Steak Frites quantity: type: integer example: 1 default: 0 price: type: integer example: 1500 default: 0 gross: type: integer example: 1500 default: 0 taxes: type: array items: type: object properties: {} net: type: integer example: 1450 default: 0 subItems: type: array items: type: object properties: {} discounts: type: array items: type: object properties: referenceId: type: integer example: 1 default: 0 amount: type: integer example: 50 default: 0 discountTotal: type: integer example: 50 default: 0 payment: type: object properties: tips: type: array items: type: object properties: {} discountsTotal: type: integer example: 50 default: 0 taxTotal: type: integer example: 0 default: 0 tipTotal: type: integer example: 0 default: 0 total: type: integer example: 1450 default: 0 customer: type: object properties: name: type: string example: Test companyName: type: string example: Company LTDA phoneNumber: type: string example: '12345' email: type: string example: test@email.com fulfillment: type: object properties: type: type: string example: pickup taxes: type: array items: type: object properties: {} discounts: type: array items: type: object properties: type: type: string example: order_flat_off referenceId: type: integer example: 1 default: 0 amount: type: integer example: 50 default: 0 provider: type: string example: restaurant name: type: string example: CONGRATS! HERE'S 5 EUR OFF '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-microcks-operation: delay: 0 dispatcher: FALLBACK /commerce/{accountId}/baskets/{basketId}/payment: patch: description: Deliverect Patch_commerce_accountid_baskets_basketid_payment responses: '200': description: '' content: application/json: examples: OK: summary: OK value: id: 6643782d0c1914c93a846834 created: '2024-05-14T14:41:49.738000+00:00' updated: '2024-05-14T15:28:33.188000+00:00' deleted: false etag: d8ac2d392f6a89d80376174d19cbe84b8b65d637 accountId: 65c35d109a19b819b7cf78d8 storeId: 65eee6a9984a1bc1b9637c59 channelLinkId: 65eee6a9984a1bc1b9637c59 channelOrderId: null channelOrderDisplayId: null currency: EUR taxExclusive: false status: open items: - menuId: 62d7f77f64c95193cc29aa91 plu: STK-01 name: Delicious Steak Frites quantity: 1 price: 1500 gross: 1500 taxes: [] net: 1500 subItems: [] discounts: [] discountTotal: 0 payment: tips: - amount: 100 type: restaurant discountsTotal: 0 taxTotal: 0 tipTotal: 100 total: 1600 customer: name: Test companyName: Company LTDA phoneNumber: '12345' email: test@email.com fulfillment: type: pickup taxes: [] discounts: [] schema: type: object properties: id: type: string example: 6643782d0c1914c93a846834 created: type: string example: '2024-05-14T14:41:49.738000+00:00' updated: type: string example: '2024-05-14T15:28:33.188000+00:00' deleted: type: boolean example: false default: true etag: type: string example: d8ac2d392f6a89d80376174d19cbe84b8b65d637 accountId: type: string example: 65c35d109a19b819b7cf78d8 storeId: type: string example: 65eee6a9984a1bc1b9637c59 channelLinkId: type: string example: 65eee6a9984a1bc1b9637c59 channelOrderId: {} channelOrderDisplayId: {} currency: type: string example: EUR taxExclusive: type: boolean example: false default: true status: type: string example: open items: type: array items: type: object properties: menuId: type: string example: 62d7f77f64c95193cc29aa91 plu: type: string example: STK-01 name: type: string example: Delicious Steak Frites quantity: type: integer example: 1 default: 0 price: type: integer example: 1500 default: 0 gross: type: integer example: 1500 default: 0 taxes: type: array items: type: object properties: {} net: type: integer example: 1500 default: 0 subItems: type: array items: type: object properties: {} discounts: type: array items: type: object properties: {} discountTotal: type: integer example: 0 default: 0 payment: type: object properties: tips: type: array items: type: object properties: amount: type: integer example: 100 default: 0 type: type: string example: restaurant discountsTotal: type: integer example: 0 default: 0 taxTotal: type: integer example: 0 default: 0 tipTotal: type: integer example: 100 default: 0 total: type: integer example: 1600 default: 0 customer: type: object properties: name: type: string example: Test companyName: type: string example: Company LTDA phoneNumber: type: string example: '12345' email: type: string example: test@email.com fulfillment: type: object properties: type: type: string example: pickup taxes: type: array items: type: object properties: {} discounts: type: array items: type: object properties: {} '400': content: application/json: schema: type: object properties: {} examples: Bad Request: summary: Bad Request value: '{}' description: Bad Request parameters: - in: path name: accountId schema: type: string default: '' required: true description: The accountId value. example: 5b71c6489f00290d4 - in: path name: basketId schema: type: string default: '' required: true description: The basketId value. example: 609a1b2c3d4e5f6a7b8c9d0e requestBody: content: application/json: schema: type: object properties: {} examples: Tips - Restaurant: summary: Tips - Restaurant value: tips: - amount: 100 type: restaurant Tips - Driver: summary: Tips - Driver value: tips: - amount: 100 type: driver operationId: patch_commerce_accountid_baskets_basketid_payment summary: Deliverect Patch_commerce_accountid_baskets_basketid_payment tags: - Baskets x-microcks-operation: delay: 0 dispatcher: FALLBACK /commerce/{accountId}/baskets/{basketId}/store: patch: description: Deliverect Update Basket - Store responses: '200': description: '' content: application/json: examples: OK: summary: OK value: '{}' parameters: - in: path name: accountId schema: type: string required: true description: The accountId value. example: 5b71c6489f00290d4 - in: path name: basketId schema: type: string required: true description: The basketId value. example: 609a1b2c3d4e5f6a7b8c9d0e operationId: patch_commerce_accountid_baskets_basketid_store requestBody: content: application/json: schema: type: object properties: storeId: type: string example: 609a1b2c3d4e5f6a7b8c9d0e required: - storeId examples: New Example: summary: New Example value: storeId: 67********************2c summary: Deliverect Update Basket - Store tags: - Baskets 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: {}