Create order in sandbox UI

Hello

I want to create an order in the sandbox dashboard, to test my API flow back to my external system.

I can’t see the button to do this.

I get that I could create an order using the API, but my workflow is that orders are created in the Square POS app and then flowed back to my external system.

How do I do this please?

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Get Developer Credentials
Make your First API Call
Verify your Pickup Order

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

To create an order in the Square Sandbox environment and test your API flow, you need to simulate the order creation process using the Square APIs, as the Sandbox Square Dashboard does not provide a direct interface to manually create orders like the production Square POS app does.

Here’s how you can proceed:

  1. Use the Orders API: You can create an order programmatically using the Orders API in the Sandbox environment. This involves making a call to the CreateOrder endpoint with the necessary order details.

  2. Simulate POS Order Creation: Since your workflow involves orders being created in the Square POS app, you can simulate this by creating orders through the API and then testing how these orders flow back to your external system.

  3. Verify in Sandbox Dashboard: Once you create an order using the API, you can verify the order in the Sandbox Square Dashboard. This will allow you to see the order from the seller’s perspective and ensure that your external system receives the order data as expected.

  4. Testing and Validation: Use the API Explorer in Sandbox mode to test and validate your API calls. This tool allows you to interact with the Square APIs without writing code, making it easier to test your integration.

Unfortunately, the Sandbox environment does not fully replicate the Square POS app’s functionality, so manual order creation directly in the Sandbox Dashboard is not possible. You will need to rely on API calls to simulate this process.

This answer was reviewed by @Bryan-Square.