GET https://api.storenvy.com/v1/orders/:id/products
Get a list of the Products in an order.
Example response:
{ "data": { "id": 2, "name": "Ergonomic Wooden Computer", "description": null, "created_at": "2015-01-28T13:52:07-06:00", "updated_at": "2015-03-25T19:13:31-05:00", "retired_on": null, "status": "active", "labels": null, "preorder": false, "on_sale": false, "tag_list": [ ], "deleted_at": null, "marketplace_category_id": null, "marketplace_category": null, "price": 18.17, "marketplace_url": "https://www.storenvy.com/products/2-ergonomic-wooden-computer", "collections": [ ], "short_url": "https://www.storenvy.com/products/2-ergonomic-wooden-computer", "storefront_url": "http://jon.storenvy.com/products/2-ergonomic-wooden-computer", "photos": [ { "photo": { "original": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_original.", "large": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_large.", "homepage": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_homepage.", "medium": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_medium.", "small": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_small.", "64w": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_64w.", "200w": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_200w.", "400w": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_400w.", "600w": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_600w.", "1000w": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_1000w.", "64sq": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_64sq.", "200sq": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_200sq.", "400sq": "//d3k7gsx2luzxku.cloudfront.net/product_photos/2/736575_400sq." } } ], "shipping_group": { "id": 1, "name": "T-shirts" }, "variants": [ { "variant": { "id": 5, "product_id": 2, "name": "Default", "position": 1, "sku": "", "full_quantity": 1, "percent_available": 0, "is_default_variant": false, "in_stock": 0, "sold": 1, "price": 18.17, "sold_out": true, "status": "sold-out", "has_override_price": false, "cents": 1817 } }, { "variant": { "id": 6, "product_id": 2, "name": "sky blue", "position": 2, "sku": "", "full_quantity": 97, "percent_available": 0, "is_default_variant": false, "in_stock": 0, "sold": 3, "price": 18.17, "sold_out": true, "status": "sold-out", "has_override_price": false, "cents": 1817 } }, { "variant": { "id": 7, "product_id": 2, "name": "white", "position": 3, "sku": "", "full_quantity": 32, "percent_available": 100, "is_default_variant": false, "in_stock": 93, "sold": 15, "price": 18.17, "sold_out": false, "status": "active", "has_override_price": false, "cents": 1817 } }, { "variant": { "id": 8, "product_id": 2, "name": "grey", "position": 4, "sku": null, "full_quantity": 95, "percent_available": 79, "is_default_variant": false, "in_stock": 75, "sold": 0, "price": 18.17, "sold_out": false, "status": "active", "has_override_price": false, "cents": 1817 } } ], "list_in_marketplace": true, "has_override_priced_variants": false }, "meta": { "code": 200, "api_version": "1.0" } }