Sales Orders Quickstart
To start out, let's go through a simple tutorial of how a process might work. We will be creating an order in Shopify, importing the order into ShipEngine, creating a label for the order, and finally notifying Shopify that our items have been shipped.
Create an Order in Shopify
Click the button below to create a fake order inside Shopify. This button will randomize a fake order with a demo Shopify account. The generated ID will be the external_order_id
once you import your Shopify sales order
Refresh the Order Source
By refreshing the order source, you will trigger ShipEngine to import the order you just created!
Query Sales Orders to Find the Order
Look for the external_order_id
for your Shopify order you created earlier. We're going to sort the sales orders descending by order date, since we have just created the order. If the order isn't found in the results, simply query the next page, or increase your page size.
Sort Request Example
We can also query the external_order_id
directly.
External Order ID Request Example
Create a Label with the Sales Order
You will need your sales_order_id
from the request above to create a label from a sales order.
Notify the Order Source the Item has Shipped
Next, let's tell Shopify that we have shipped the sales order.
You should receive an HTTP Status 204 No Content with a successful submission. After that, you can Refresh your order source to update the sales order's status.