Operation Definitions
Endpoints
POST /price
Use the Price Order operation to request subtotal, tax, and total prices for an order defined in an array of items.
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | The integrator token created previously |
body |
| Yes | The Price Order request information |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success Response | |
306 | Error Response. Price Order returns error responses to the callback URL. The code and message provide details about why the operation failed. See Error Codes for a complete list of codes and messages. |
Sample Error Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"errors": [
{
"code": 306,
"message": "INVALID ORDER PAYMENT - VALUE IS LESS THAN TOTAL"
}
]
}POST /place
Use the Place Order operation to submit an order to Omni for processing. The subTotal, totalTaxes, and total amounts must be included in the request. These are obtained by using the Price Order operation. The taxes array and the items array that are returned by the Price Order operation in the Place Order request must also be included.
Place Order sets the order status based on the value of pickupLocation that was set in the request. If pickupLocation is set to "EatIn", "TakeOut", or "Delivery", the order status will be set to "Finalize" in the POS. If the pickupLocation is set to anything else, the order status will be set to "Hold". Use the Confirm Order operation to move the order to "Finalize" status.
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | An authorization token linked to the integrator's account |
body |
| Yes | The Place Order request information |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success Response | |
306 | Error Response. Place Order returns error responses to the callback URL. The code and message provide details about why the operation failed. See Error Codes for a complete list of codes and messages. |
Sample Error Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"errors": [
{
"code": 306,
"message": "INVALID ORDER PAYMENT - VALUE IS LESS THAN TOTAL"
}
]
}POST /stores/heartbeat
The Store Status operation returns information about whether the store is available to accept orders.
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | An authorization token linked to the integrator account |
body |
| Yes | The Store Status request information |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success Response | |
306 | Error Response. Store Status returns error responses to the callback URL. The code and message provide details about why the operation failed. See Error Codes for a complete list of codes and messages. |
Sample Error Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"errors": [
{
"code": 306,
"message": "INVALID ORDER PAYMENT - VALUE IS LESS THAN TOTAL"
}
]
}POST /delivery/insert
Use the Insert Order operation to insert an order into the point of sale (POS) order queue with the status set to Hold. Orders on hold can be filled by the restaurant. Use the Confirm Order operation to move an order from hold status to finalize status and to set a pickup time if needed.
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | An authorization token linked to the integrator's account |
body |
| Yes | The Insert Order request information |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success Response | |
306 | Error Response. Error responses are returned to the callback URL. The code and message provide details about why the operation failed. See Error Codes for a complete list of codes and messages. |
Sample Error Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"errors": [
{
"code": 306,
"message": "INVALID ORDER PAYMENT - VALUE IS LESS THAN TOTAL"
}
]
}POST /delivery/confirm
Use the Confirm Order operation to enter a new order with its status set to Finalize, or to move an order from Hold to Finalize.
Fulfillment of the order can be delayed by setting a value for the pickupTime attribute. The pickupTime value can be used to trigger the order being sent to the kitchen. If a value for pickupTime is not sent, the order will be available immediately, with the status set to Finalize.
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | An authorization token linked to the integrator's account |
body |
| Yes | The Confirm Order request information |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success Response | |
306 | Error Response. Error responses are returned to the callback URL. The code and message provide details about why the operation failed. See Error Codes for a complete list of codes and messages. |
Sample Error Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"errors": [
{
"code": 306,
"message": "INVALID ORDER PAYMENT - VALUE IS LESS THAN TOTAL"
}
]
}POST /delivery/cancel
The Cancel Order operation removes the order from the point of sale (POS) order queue. An order cannot be canceled once its status is Finalize.
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | An authorization token linked to the integrator's account |
body |
| Yes | The Cancel Order request information |
Responses
Code | Description | Schema |
|---|---|---|
200 | Success Response | |
306 | Error Response. Error responses are returned to the callback URL. The code and message provide details about why the operation failed. See Error Codes for a complete list of codes and messages. |
Sample Error Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"errors": [
{
"code": 306,
"message": "INVALID ORDER PAYMENT - VALUE IS LESS THAN TOTAL"
}
]
}Data Models
PriceOrderRequestBody
Field Name | Type | Description |
|---|---|---|
| string | A unique identifier (UID) for the request and used to keep track of the request. The request ID is echoed in the response sent to the callback URL after the request has been processed. |
| string | The identifier for the store that fulfills the order |
| string | The name of the store that fulfills the order. This is a unique brand identifier that must correspond to the name used by Genius for the customer's integration. Genius will provide this value. |
| string | A unique URL generated for each request, which Omni uses to return the final response after the order has been processed |
| An object that contains the partner, pickup, item, customer, and payment information. The items list includes objects that define prices, descriptions, and additional information about the items placed with the order. See Destination Codes for an example of valid pickup location values. |
order Object
Field Name | Type | Description |
|---|---|---|
| string | The partner order identifier |
| string | The order pick up location such as "DriveThru" |
| string | The Genius |
| string | Sending a |
| The list of items for the items array | |
| An array of fees that will be applied to the order | |
| string | The customer identifier |
| The payment object information. |
items Array
Field Name | Type | Description |
|---|---|---|
| number | The quantity of items in the order |
| string | The line identifier for the order item |
| string | The order item description |
| number | The reference number of the item |
| boolean | The flag that indicates if an order is a value meal |
| array | A list of modifiers for the order, if applicable |
fees Array
Field Name | Type | Description |
|---|---|---|
| string | The name of the fee. This name must match the name associated with the fee's price look up (PLU). |
| number | The amount of the fee to be applied |
| number | This should always be 1 |
| number | The reference number of the fee |
payment Object
Field Name | Type | Description |
|---|---|---|
| number | The reference number for the payment |
Price Order Request Sample Code
Sample Request Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"storeId": "9999",
"brand": "my-brand-name",
"callbackUrl": "https://9999999.9999/8b865822-6183-4980-bc55-ce6eb7fb4b33",
"order": {
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"pickupLocation": "DriveThru",
"items": [
{
"quantity": 1,
"lineId": "99999999999999999999999999999999",
"description": "Reg Coke",
"plunum": "999999",
"isValueMeal": false,
"modifiers": []
}
],
"fees": [
{
"name": "fee",
"amount": 9.99,
"quantity": 1,
"plunum": "999999"
}
],
"customerName": "999999",
"payment": {
"plunum": "999999"
}
}
}PriceOrderResponseBody
Field Name | Type | Description |
|---|---|---|
| string | The unique identifier (UID) for the request that was provided in the original request |
| string | The UID for the order that was provided in the original request |
| string | The request type |
| An object containing information about the type and version of the point of sale (POS) system that generated the request | |
| number | The total dollar amount of all of the items included with the order |
| An array of objects that contain a description, ID, and amount for each tax that is charged on the order. This array may list multiple taxes if more than one tax is applied with the order. | |
| number | The total amount of tax to be charged on the order. This value is based on the sum of taxes returned in the taxes array. |
| number | The total dollar amount to be charged for the order. This is the sum of the |
| An array of objects that define the items that are included on the order. The item objects include the item ID and price information. The line ID is the same value sent with the request. If a line ID is not sent with the request, Genius generates and returns a line ID that can be used to track the line items on the order. The modifiers array is an array of items that may be added to items included with the order. |
posInfo Object
Field Name | Type | Description |
|---|---|---|
| string | The point of sale (POS) type |
| string | The POS version |
taxes Array
Field Name | Type | Description |
|---|---|---|
| string | The tax description |
| string | The tax identifier |
| number | The tax amount |
Price Order Response Sample Code
Sample Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"requestType": "CALCULATETAX",
"posInfo": {
"type": "999999999",
"version": "9.99.9"
},
"subTotal": 999,
"taxes": [
{
"description": "10% TAX",
"id": "99999999",
"amount": 99
}
],
"totalTaxes": 99,
"total": 999,
"items": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Reg Coke",
"quantity": 1,
"price": 999,
"modifiers": []
}
]
}PlaceOrderRequestBody
Field Name | Type | Description |
|---|---|---|
| string | A unique identifier (UID) for the request and used to keep track of the request. The request ID is echoed in the response sent to the callback URL once the request has been processed. |
| string | The identifier for the store that fulfills the order |
| string | The name of the store that fulfills the order. This is a unique brand identifier that must correspond to the name used by Genius for the customer's integration. Genius will provide this value. |
| string | A unique URL generated for each request, which Omni uses to return the final response after the order has been processed |
| An object that contains details about the order, including the partner, pickup, customer, item, payment, and price and tax calculation information. The The |
Place Order Request Sample Code
Sample Request Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"storeId": "9999",
"brand": "my-brand-name",
"callbackUrl": "https://999999.9999/99999999-9999-9999-9999-999999999999",
"order": {
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"pickupLocation": "DriveThru",
"subTotal": 999,
"taxes": [
{
"description": "10% TAX",
"id": "99999999",
"amount": 99
}
],
"fees": [
{
"name": "fee",
"amount": 9.99,
"quantity": 1,
"plunum": "999999"
}
],
"totalTaxes": 99,
"total": 999,
"items": [
{
"quantity": 1,
"lineId": "99999999999999999999999999999999",
"description": "Reg Coke",
"plunum": "999999",
"price": 999,
"isValueMeal": false,
"modifiers": []
}
],
"customerName": "999999",
"payment": {
"plunum": "999999"
}
}
}PlaceOrderResponseBody
Field Name | Type | Description |
|---|---|---|
| string | The unique identifier (UID) for the request that was provided in the original request |
| string | The UID for the order provided in the original request |
| string | The request type |
| An object containing information about the type and version of the point of sale (POS) system that generated the request | |
| string | The Genius-generated identifier for the order |
| number | The total dollar amount of all of the items included with the order |
| An array of objects that contain a description, ID, and amount for each tax that is charged on the order. This array may list multiple taxes if more than one tax is applied with the order. | |
| number | The total amount of tax to be charged on the order. This value is based on the sum of taxes returned in the taxes array. |
| number | The total dollar amount to be charged for the order |
| An array of objects that define the items that are included on the order. The item objects include item ID and price information. |
Place Order Response Sample Code
Sample Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"requestType": "PlaceOrder",
"posInfo": {
"type": "999999999",
"version": "9.99.9"
},
"orderId": "99999999-9999-9999-9999-999999999999999",
"subTotal": 999,
"taxes": [
{
"description": "10% TAX",
"id": "99999999",
"amount": 99
}
],
"totalTaxes": 99,
"total": 999,
"items": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Reg Coke",
"quantity": 1,
"price": 999,
"modifiers": []
}
]
}StoreStatusRequestBody
Field Name | Type | Description |
|---|---|---|
| string | The name of the store that will fulfill the order |
| string | The identifier for the store that fulfills the order |
| string | A unique URL generated for each request, which Omni will use to return the final response after the request has been processed |
Store Status Request Sample Code
Sample Request Body
{
"brand": "99999",
"storeId": "9999",
"callbackUrl": "https://999999.9999/99999999-9999-9999-9999-999999999999"
}StoreStatusResponseBody
Field Name | Type | Description |
|---|---|---|
| string | The unique identifier (UID) for the request that was provided in the original request |
| An object that defines the brand, store ID, and status for the location defined by the |
storeStatus Object
Field Name | Type | Description |
|---|---|---|
| string | The name of the store that fulfills the order |
| string | The identifier for the store that fulfills the order |
| boolean | A boolean which defines whether the store is able to accept orders |
Store Status Response Sample Code
Sample Response Body
{
"partnerRequestId": null,
"storeStatus": {
"brand": "my-restaurant-name",
"storeId": "9999",
"available": true
}
}InsertOrderRequestBody
Field Name | Type | Description |
|---|---|---|
| string | The name of the store that fulfills the order. This is a unique brand identifier that must correspond to the name used by Genius for the customer integration. Genius will provide this value. |
| string | A unique URL generated for each request, which Omni uses to return the final response after the request has been processed |
| An object that contains the partner, pickup, item, customer, and payment information. The items list includes objects that define prices, descriptions, and additional information about the items placed with the order. See Destination Codes for an example of valid values for | |
| string | A unique identifier (UID) for the request and used to keep track of the request. The request ID is echoed in the response sent to the callback URL after the request has been processed. |
| string | The identifier for the store that fulfills the order |
Insert Order Request Sample Code
Sample Request Body
{
"brand" : "99",
"callbackUrl" : "https://calbackURL.site/unique-string",
"order" : {
"customerName" : "Test",
"subTotal": 999,
"taxes": [
{
"description": "Tax (7.000%) TAX",
"id": "99999999",
"amount": 99
}
],
"totalTaxes": 99,
"fees": [
{
"name": "fee",
"amount": 9.99,
"quantity": 1,
"plunum": "999999"
}
],
"total": 99.99,
"items": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": true,
"description": "Burger",
"quantity": 1,
"price": 999,
"modifiers": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Cheeseburger",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "99999",
"isValueMeal": false,
"description": "Fries",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "COKE",
"quantity": 1,
"price": 0,
"modifiers": []
}
]
}
],
"partnerOrderId" : "99999999-9999-9999-9999-999999999999",
"pickupLocation" : "DriveThru"
},
"partnerRequestId" : "99999999-9999-9999-9999-999999999999",
"storeId" : "999999"
}InsertOrderResponseBody
Field Name | Type | Description |
|---|---|---|
| string | The unique identifier (UID) for the request that was provided in the original request |
| string | The UID for the order that was provided in the original request |
| string | |
| An object containing information about the type and version of the point of sale (POS) system that generated the request | |
| string | The Genius-generated identifier for the order |
| number | The total dollar amount of all of the items included with the order |
| An array of objects that contain a description, ID, and amount for each tax that is charged on the order. This array may list multiple taxes if more than one tax is applied with the order. | |
| number | The total amount of tax to be charged on the order. This value is based on the sum of taxes returned in the taxes array. |
| number | The total dollar amount to be charged for the order |
| An array of objects that define the items that are included on the order. The item objects include item ID and price information. |
Insert Order Response Sample Code
Sample Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"requestType": "PlaceOrder",
"posInfo": {
"type": "999999999",
"version": "9.99.9"
},
"orderId": "99999999-9999-9999-9999-999999999999|999",
"subTotal": 999,
"taxes": [
{
"description": "Tax (7.000%) TAX",
"id": "99999999",
"amount": 99
}
],
"totalTaxes": 99,
"total": 999,
"items": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": true,
"description": "Burger",
"quantity": 1,
"price": 999,
"modifiers": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "9999999",
"isValueMeal": false,
"description": "Cheeseburger",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Fries",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "COKE",
"quantity": 1,
"price": 0,
"modifiers": []
}
]
}
]
}ConfirmOrderRequestBody
Field Name | Type | Description |
|---|---|---|
| string | The name of the store that fulfills the order. This is a unique brand identifier that must correspond to the name used by Genius for the integration. Genius will provide this value. |
| string | A unique URL generated for each request, which Omni uses to return the final response after the request has been processed |
| An object that contains the partner, pickup, item, customer, and payment information. The items list includes objects that define prices, descriptions, and additional information about the items placed with the order. See Destination Codes for an example of valid pickup location values. | |
| string | A unique identifier (UID) for the request and used to keep track of the request. The request ID is echoed in the response sent to the callback URL after the request has been processed. |
| string | The identifier for the store that fulfills the order |
Confirm Order Request Sample Code
Sample Request Body
{
"brand" : "999999",
"callbackUrl" : "https://callbackURL.site/unique-string",
"order" : {
"customerName" : "Test",
"subTotal": 999,
"taxes": [
{
"description": "Tax (7.000%) TAX",
"id": "999999",
"amount": 54
}
],
"totalTaxes": 99,
"total": 999,
"items": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": true,
"description": "Burger",
"quantity": 1,
"price": 999,
"modifiers": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Cheeseburger",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Fries",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "9999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Coke",
"quantity": 1,
"price": 0,
"modifiers": []
}
]
}
],
"partnerOrderId" : "99999999-9999-9999-9999-999999999999",
"pickupLocation" : "Delivery",
"orderId": "99999999-9999-9999-9999-999999999999|999"
},
"partnerRequestId" : "99999999-9999-9999-9999-999999999999",
"storeId" : "999999"
}ConfirmOrderResponseBody
Field Name | Type | Description |
|---|---|---|
| string | The unique identifier (UID) for the request that was provided in the original request |
| string | The UID for the order that was provided in the original request |
| string | The request type |
| An object containing information about the type and version of the point of sale (POS) system that generated the request | |
| string | The Genius-generated identifier for the order |
| number | The total dollar amount of all of the items included with the order |
| An array of objects that contain a description, ID, and amount for each tax that is charged on the order. This array may list multiple taxes if more than one tax is applied with the order. | |
| number | The total amount of tax to be charged on the order. This value is based on the sum of taxes returned in the taxes array. |
| number | The total dollar amount to be charged for the order |
| An array of objects that define the items that are included on the order. The item objects include item ID and price information. |
Confirm Order Response Sample Code
Sample Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"requestType": "ORDERUPDATE",
"posInfo": {
"type": "999999",
"version": "9.99.9"
},
"orderId": "99999999-9999-9999-9999-999999999999|999",
"subTotal": 999,
"taxes": [
{
"description": "Tax (7.000%) TAX",
"id": "999999",
"amount": 99
}
],
"totalTaxes": 99,
"total": 999,
"items": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": true,
"description": "Burger",
"quantity": 1,
"price": 999,
"modifiers": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Cheeseburger",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Fries",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Coke",
"quantity": 1,
"price": 0,
"modifiers": []
}
]
}
]
}CancelOrderRequestBody
Field Name | Type | Description |
|---|---|---|
| string | The name of the store that fulfills the order. This is a unique brand identifier that must correspond to the name used by Genius for the integration. Genius will provide this value. |
| string | A unique URL generated for each request, which Omni uses to return the final response after the request has been processed |
| An object that contains partner, pickup, item, customer, and payment information. The items list includes objects that define prices, descriptions, and additional information about the items placed with the order. See Destination Codes for an example of valid pickup location values. | |
| string | A unique identifier (UID) for the request and used to keep track of the request. The request ID is echoed in the response sent to the callback URL after the request has been processed. |
| string | The identifier for the store that fulfills the order |
Cancel Order Request Sample Code
Sample Request Body
{
"brand" : "999999",
"callbackUrl" : "https://callbackURL.site/unique-string",
"order" : {
"customerName" : "Test",
"subTotal": 999,
"taxes": [
{
"description": "Tax (7.000%) TAX",
"id": "99999999",
"amount": 99
}
],
"totalTaxes": 99,
"total": 999,
"items": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": true,
"description": "Burger",
"quantity": 1,
"price": 999,
"modifiers": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Cheeseburger",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Fries",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Coke",
"quantity": 1,
"price": 0,
"modifiers": []
}
]
}
],
"partnerOrderId" : "99999999-9999-9999-9999-999999999999",
"pickupLocation" : "Delivery",
"orderId": "99999999-9999-9999-9999-999999999999|999"
},
"partnerRequestId" : "99999999-9999-9999-9999-999999999999",
"storeId" : "9999"
}CancelOrderResponseBody
Field Name | Type | Description |
|---|---|---|
| string | The unique identifier (UID) for the request provided in the original request |
| string | The UID for the order provided in the original request |
| string | The request type |
| An object containing information about the type and version of the point of sale (POS) system that generated the request | |
| string | The Genius-generated orderID sent with the request |
| number | The total dollar amount of all of the items included with the order |
| An array of objects that contain a description, ID, and amount for each tax that is charged on the order. This array may list multiple taxes if more than one tax is applied with the order. | |
| number | The total amount of tax to be charged on the order. This value is based on the sum of taxes returned in the taxes array. |
| number | The total dollar amount to be charged for the order |
| An array of objects that define the items that are included on the order. The item objects include item ID and price information. |
Cancel Order Response Sample Code
Sample Response Body
{
"partnerRequestId": "99999999-9999-9999-9999-999999999999",
"partnerOrderId": "99999999-9999-9999-9999-999999999999",
"requestType": "CancelOrder",
"posInfo": {
"type": "999999999",
"version": "9.99.9"
},
"orderId": "99999999-9999-9999-9999-999999999999|999",
"subTotal": 999,
"taxes": [
{
"description": "Tax (7.000%) TAX",
"id": "999999",
"amount": 99
}
],
"totalTaxes": 99,
"total": 999,
"items": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": true,
"description": "Burger",
"quantity": 1,
"price": 999,
"modifiers": [
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Cheeseburger",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Fries",
"quantity": 1,
"price": 0,
"modifiers": []
},
{
"lineId": "99999999999999999999999999999999",
"plunum": "999999",
"isValueMeal": false,
"description": "Coke",
"quantity": 1,
"price": 0,
"modifiers": []
}
]
}
]
}