This guide will be removed on April 29, 2022. Please use our new, easier-to-use Toast technical documentation site. All updated content is on the new site.
Marketplace facilitator orders can include menu items that use size pricing. For information about menu items with size pricing, see Menu Item with a Size Price.
When you create a marketplace facilitator order and specify prices,
you include an externalPriceAmount
for all of the menu item
selections. For size-priced items:
-
Set the
externalPriceAmount
for the parent item to0.0
. -
Include the actual price of the item in the
externalPriceAmount
value of the size modifier.
The Order
object in the following example creates a
marketplace facilitator order with a menu item selection that uses size
pricing.
Marketplace facilitator order that specifies a size-based price for a menu item selection
{ "entityType": "Order", [contents omitted] "marketplaceFacilitatorTaxInfo": { "taxes": [{ "name": "SomeTax", "taxAmount": 0.10, "facilitatorCollectAndRemitTax": true } ] }, "checks": [ { "entityType": "Check", "selections": [ { "entityType": "MenuItemSelection", "externalPriceAmount": 0,
"itemGroup": { "guid": "881472e6-dd94-48c6-b5c6-25e51a864208", "entityType": "MenuGroup" }, "item": { "entityType": "MenuItem", "guid": "9c59d4ab-8242-450f-8f36-b16e1b3ab802"
}, "quantity": 1, "modifiers": [ { "externalPriceAmount": 10.00,
"entityType": "MenuItemSelection", "optionGroup": { "guid": "f315fe4c-a74d-49c1-b117-fe4494bb456e"
}, "item": { "entityType": "MenuItem", "guid": "4382f595-8f01-4d97-b3ec-8fe91da963a1"
}, "quantity": 1 } ] } ], [contents omitted] } ] }
When you specify tax amounts for an order, you also specify the prices for items in the order. For more information, see Specifying prices and tax amounts. |
|
For items that use size prices, set
|
|
The Toast platform GUID of the size-priced parent item. |
|
The price of the selected size modifier for the size-priced item. |
|
The Toast platform GUID of the Size modifier group that is used for size pricing. |
|
The Toast platform GUID of the selected modifier for the item that uses size pricing. Represents a value such as Small, Medium, or Large. |