Skip to content

Get a Single Product

Overview

GET /api/v2/products/{id}

This endpoint will return data for a specified Product.

Request

URL parameters

ID

Values: id

The ID of the product being requested

Embedded Entities

The endpoint supports embedding related entities - for a detailed overview of how this works, please read API Overview.

Relation Entity Description
brand Brand The brand associated with the Product

Examples

Get a Product

GET /api/v2/products/a_product_id

{
    "data": {
        "id": "a_product_id",
        "brand_id": "a_brand_id",
        ...
    }
}

Get a Product with Brand

GET /api/v2/products/a_product_id?embed[]=brand

{
    "data": {
        "id": "a_product_id",
        "brand_id": "a_brand_id",
        ...
    },
    "embedded": {
        "brands": [
            {"id": "a_brand_id", ...}
        ]
    }
}