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.
Before you can POST
an order to the /orders
endpoint, you must first obtain the order price information for the order.
For an overview of the order creation process, including the step to obtain
the order prices, see Order creation process for the orders API.
To get the price information, you send a POST
request to
the /prices
endpoint of the orders API. The request contains an
Order
object with the information about the order.
The /prices
endpoint is the only reliable and supported
way to determine the payment amount for a check. If you POST
an
order with a payment amount that does not match the results from the
/prices
endpoint, then restaurant employees must manually
handle the underpayment or overpayment during order fulfillment.