Create an Order

Follow step-by-step instructions to create, clone, or calculate an order using the Square API.

The CreateOrder endpoint creates an order which includes information about the products and the settings to be applied to that purchase.

This endpoint requires an order object as a request parameter. This object might include the items, discounts, and taxes. The only required parameter for the CreateOrder endpoint is the location_id. The following widget contains the minimum code to create an order. Please keep in mind that this code creates an empty order.

Get hands-on with 1400+ tech skills courses.