Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Latest commit

 

History

History
93 lines (73 loc) · 2.16 KB

File metadata and controls

93 lines (73 loc) · 2.16 KB
title Get Product
api GET /products/{id}
description Retrieve a specific product from your catalog by its ID
authMethod key

Overview

The get product endpoint allows you to retrieve detailed information about a specific product in your catalog using its unique identifier.

Authentication

This endpoint requires a valid JWT token in the x-auth-token header. You can find your token in the Developers section:

x-auth-token: your_jwt_token

Path Parameters

The unique identifier of the product you want to retrieve

Response

The response includes the following fields:

The unique identifier of the product The URL where the product can be viewed The URL of the product's main image The product's title The product's description The product's handle/slug Array of product variants Array of collections the product belongs to Indicates if the product is currently available ```json 200 { "product_id": "prod_12345", "product_url": "https://yourstore.com/products/sample-product", "product_image": "https://example.com/image.jpg", "title": "Sample Product", "description": "A detailed product description", "handle": "sample-product", "variants": [ { "id": "var_12345", "title": "Default Variant", "price": "29.99", "inventory_quantity": 100 } ], "collections": ["New Arrivals", "Featured"], "available": true } ```
{
  "message": "Product not found"
}