Get a Shopify product (v1)
Returns one product by its handle or URL, with every variant, its stock count where the store shares it, barcodes and images. A handle the store does not have returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
domain*string
The store's hostname, such as allbirds.com or gymshark.myshopify.com. A full URL is accepted.
handle*string
The product handle, the part after /products/. A product URL is accepted.
curl -X GET "https://example.com/v1/shopify/product?domain=allbirds.com&handle=mens-tree-runners" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "id": 0, "title": "string", "handle": "string", "url": "string", "vendor": "string", "product_type": "string", "tags": [ "string" ], "description": "string", "body_html": "string", "price_min": 0, "price_max": 0, "compare_at_price_max": 0, "available": true, "options": [ { "name": "string", "values": [ "string" ] } ], "variants": [ { "id": 0, "title": "string", "sku": "string", "price": 0, "compare_at_price": 0, "available": true, "inventory_quantity": 0, "barcode": "string", "options": [ "string" ], "grams": 0, "requires_shipping": true, "image": "string" } ], "images": [ { "src": "string", "width": 0, "height": 0, "alt": "string" } ], "created_at": "string", "published_at": "string", "updated_at": "string", "domain": "string" }, "details": { "reason": "string", "message": "string" }}