---
title: "Get Product"
method: GET
path: "/ecommerce/products/{id}"
tags: ["Products"]
---

# Get Product

`GET /ecommerce/products/{id}`

Get Product

## Path parameters

- `id` string, required

## Query parameters

- `raw` boolean
- `fields` string, nullable

## Headers

- `x-apideck-consumer-id` string, required
- `x-apideck-app-id` string, required
- `x-apideck-service-id` string

## Response `200`

Products

- GetProductResponse
  - `status_code` integer, required — HTTP Response Status Code
  - `status` string, required — HTTP Response Status
  - `service` string, required — Apideck ID of service provider
  - `resource` string, required — Unified API resource name
  - `operation` string, required — Operation performed
  - `data` EcommerceProduct, required
    - `id` string, required — A unique identifier for an object.
    - `name` string, nullable — The name of the product as it should be displayed to customers.
    - `description` string, nullable — A detailed description of the product.
    - `status` 'active' | 'archived', nullable — The current status of the product (active or archived).
    - `price` string, nullable — The price of the product.
    - `sku` string, nullable — The stock keeping unit of the product.
    - `inventory_quantity` string, nullable — The quantity of the product in stock.
    - `images` object[], nullable — An array of image URLs for the product.
      - `id` string, nullable — A unique identifier for an object.
      - `url` string, nullable — The URL of an image of the product.
    - `weight` string, nullable — The weight of the product.
    - `weight_unit` string, nullable — The unit of measurement for the weight of the product.
    - `options` object[] — An array of options for the product.
      - `id` string, nullable — A unique identifier for the option of the product.
      - `name` string, nullable — The name of the option for the product.
      - `values` string[]
    - `variants` object[]
      - `id` string, nullable — A unique identifier for the variant of the product.
      - `name` string, nullable — The name for the variant, used for displaying to customers.
      - `price` string, nullable — The price of the variant.
      - `sku` string, nullable — The stock keeping unit of the variant.
      - `inventory_quantity` string, nullable — The quantity of the variant in stock.
      - `weight` string, nullable — The weight of the variant.
      - `weight_unit` string, nullable — The unit of measurement for the weight of the variant.
      - `options` object[]
        - `id` string, nullable — A unique identifier for the option of the variant.
        - `name` string, nullable — The name of the option for the variant.
        - `value` string, nullable — The value of the option for the variant.
      - `images` object[]
        - `id` string, nullable — A unique identifier for an object.
        - `url` string, nullable — The URL of an image of the variant.
    - `tags` string[] — An array of tags for the product, used for organization and searching.
    - `categories` object[] — An array of categories for the product, used for organization and searching.
      - `id` string, nullable — A unique identifier for an object.
      - `name` string, nullable — The name of the category.
    - `custom_mappings` CustomMappings, nullable — When custom mappings are configured on the resource, the result is included here.
    - `created_at` string, date-time, nullable — The date and time when the object was created.
    - `updated_at` string, date-time, nullable — The date and time when the object was last updated.
  - `meta` Meta — Response metadata
    - `items_on_page` integer — Number of items returned in the data property of the response
    - `cursors` object — Cursors to navigate to previous or next pages through the API
      - `previous` string, nullable — Cursor to navigate to the previous page of results through the API
      - `current` string, nullable — Cursor to navigate to the current page of results through the API
      - `next` string, nullable — Cursor to navigate to the next page of results through the API
    - `total_count` integer — Number of records available in total for this resource
    - `warnings` object[], nullable — Non-fatal warnings emitted when optional workflow steps failed. Present only when at least one step degraded; the response status remains 200.
      - `type` string — Discriminator for the warning kind.
      - `status_code` integer, nullable — HTTP status code returned by the failed downstream request, when available.
      - `error` string, nullable — Short error description from the downstream provider, when available.
      - `operation` string, nullable — Identifier of the workflow step that failed.
      - `message` string, nullable — Detailed message from the downstream provider, when available.
  - `_raw` Raw, nullable — Raw response from the integration when raw=true query param is provided

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `404` — The specified resource was not found
- `422` — Unprocessable
- `default` — Unexpected error

---

[API](https://skmtc.dev/apideck-libraries/apis/ecommerce-api.md) · [All operations](https://skmtc.dev/apideck-libraries/apis/ecommerce-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apideck-libraries/ecommerce-api/revisions/134a8d369b74/schema)
