Get order

One order with line item statuses, shipping address, shipments and tracking.

GET https://cotlet.dev/api/v1/printify/shops/{shop_id}/orders/{order_id}

read

Returns one order in full: the status of each line item, the shipping address, costs in cents and the shipments with carrier and tracking number once they exist. Customer address data is returned, so handle it as personal data.

Parameters

Parameters: get_order
NameTypeDescription
shop_id integer required integer Shop ID from list_shops.
order_id string required string Order ID from list_orders.

Request

cURL
curl https://cotlet.dev/api/v1/printify/shops/1/orders/order_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("printify", "get_order", {"shop_id":1,"order_id":"order_8c41d2"})
Node.js
const result = await cotlet.call('printify', 'get_order', {"shop_id":1,"order_id":"order_8c41d2"});
CLI
cotlet call printify get_order --data '{"shop_id":1,"order_id":"order_8c41d2"}'

Example response

JSON

{
  "order_id": "5a96f649b2439217d070f507",
  "label": "1042",
  "status": "has-issues",
  "address_to": {
    "first_name": "Dana",
    "country": "US",
    "city": "Austin"
  },
  "line_items": [
    {
      "product_id": "6641ab12",
      "variant_id": 45740,
      "quantity": 1,
      "status": "has-issues"
    }
  ],
  "total_price": 2499,
  "shipments": []
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.