A Practical Guide to Test Orders on Development Stores
If you are familiar with using REST APIs with tools like Postman or Insomnia, please follow the dev doc example here and skip this guide!
- Create a custom app from the Admin of your development store
{your-dev-store-name}.myshopify.com
and enable Admin API access scopesread_orders
andwrite_orders
.
- Install the your custom app to generate the Admin API access token. Keep this window open as we will need this page in step 4.
- Click the below button to fork the test order demo and create a Postman account if necessary.
- Open the forked
Your development store
environment, and enter your dev store name. Reveal and copy the token from step 2, and enter it into Postman. Make sure to save!
- Navigate to Collections and set the environment to
Your development store
at the top right corner.
- Run the
Generate a test order
collection to create a test order.
- (Optional) Set the iterations to as many test orders as you need.
- (Optional) Adjust the orders attributes in the
1. Create an order
request body. Please refer to TheOrder
resource dev docs fore more details.
Notes
- Here is an implementation using our native
shopify_python_api
library. ClickOpen in Colab
to run this file on Google's Colab servers.- Other Shopify native Admin API Libraries include:
shopify_api
Ruby gem.shopify-node-api
for NodeJS andshopify-php-api
for PHP.