Skip to main content
GET
/
consumers
/
{consumer_id}
/
commerce
/
products
/
{product_id}
Get one specific product
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/commerce/products/{product_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "source_ref": {
    "id": "<string>",
    "model": "<string>"
  },
  "name": "<string>",
  "description": "<string>",
  "description_html": "<string>",
  "categories": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "created_on": "2023-11-07T05:31:56Z",
  "last_updated_on": "2023-11-07T05:31:56Z",
  "variants": [
    {
      "id": "<string>",
      "source_ref": {
        "id": "<string>",
        "model": "<string>"
      },
      "parent_id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "description_html": "<string>",
      "categories": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "created_on": "2023-11-07T05:31:56Z",
      "sku": "<string>",
      "barcode": "<string>",
      "available_quantity": 123,
      "prices": [
        {
          "currency": "<string>",
          "price": 123
        }
      ],
      "unit_cost": {
        "amount": 123,
        "currency": "<string>"
      },
      "unit_of_measure": "<string>",
      "weight": 123,
      "weight_unit": "<string>",
      "status": "unknown",
      "variant_attributes": [
        {
          "name": "<string>",
          "value": "<string>"
        }
      ],
      "variant_images": [
        {
          "id": "<string>",
          "main_image": true,
          "url": "<string>"
        }
      ]
    }
  ],
  "status": "unknown",
  "sku": "<string>",
  "common_attributes": [
    {
      "name": "<string>",
      "values": [
        "<string>"
      ]
    }
  ],
  "variant_attributes_options": [
    {
      "name": "<string>",
      "values": [
        "<string>"
      ]
    }
  ],
  "common_images": [
    {
      "id": "<string>",
      "main_image": true,
      "url": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string<uuid>
required
product_id
string
required

Response

Successful Response

id
string
required

Technical id in Chift

source_ref
object
required

Technical id in the target software

name
string
required
description
string | null
description_html
string | null
categories
ProductCategoryItem · object[] | null
created_on
string<date-time> | null
last_updated_on
string<date-time> | null
variants
ProductVariantItem · object[] | null
status
enum<string> | null
Available options:
unknown,
archived,
unpublished,
published
sku
string | null
common_attributes
CommonAttributeItem · object[] | null

List of attributes that are shared by all variants of the product.

variant_attributes_options
VariantAttributeOptionItem · object[] | null
common_images
ImageItem · object[] | null

List of images that are shared by all variants of the product.

I