---
title: "Get price of a specific item"
method: GET
path: "/api-offers/item/{itemId}"
tags: ["Item"]
---

# Get price of a specific item

`GET /api-offers/item/{itemId}`

## Request

- Base URL: `https://live.copilot.fabric.inc`
- URL: `https://live.copilot.fabric.inc/api-offers/item/{itemId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fabric/apis/offers-v2/docs/api-offers/item/:itemId/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves price details of an item by itemId

## Path parameters

- `itemId` number, required

## Query parameters

- `priceListId` number
- `limit` number
- `offset` number

## Headers

- `x-site-context` string, required

## Response `200`

OK

- ProductById
  - `channel` number[]: Sales channel of the product
  - `startDate` string, date-time: Start date of the product
  - `endDate` string, date-time: End date of the product
  - `group` string[]: Item's group/category ID
  - `title` string: Title of the product
  - `itemId` number: Item ID
  - `price` object: Price of the product. It displays price details if the price was setup previously. If price is not setup previously, it displays `null`
    - `id` string: fabric database ID of the item
    - `isSoftDeleted` boolean: true indicates price information of the item is deleted<br /> false indicates price information of the item is not deleted
    - `itemId` number
    - `offerId` number: ID of the created offer for the itemId or itemSku
    - `createdAt` string: Creation date of the item and its price information
    - `updatedAt` string: Last updated date of the item and its price information
    - `offers` object[]
      - `price` object
        - `sale` number: Price at which the product is offered for sale
        - `base` number: Minimum fixed price of the item if any
        - `currency` string: Currency code of the price set for the item
      - `channel` number: Sales channel of the item
      - `startDate` string, date-time: Start date and time of the offer price
      - `endDate` string, date-time: End date and time of the offer price
      - `kind` number: Price kind ID that indicates what kind of price is this- promotion price or clearance price.
    - `query` object: Pagination information for offers array
      - `limit` number: The maximum number of records per page.
      - `count` number: Total number of offers for specified price.
      - `offset` number: The number of records to skip before returning records. For example, when offset is 20 and limit is 10, this endpoint returns records from 21 to 30.
  - `isDefault` boolean: false for parent product<br /> If a parent product has child items, true represents the default child item to be displayed, under the parent product, on the product listing page.
  - `isActive` boolean: true if the item is active and displayed in the catalog. isActive will be true only when state is `READY` <br /> false if the state is `DRAFT`, and item is not displayed in the catalog
  - `attributes` object[]
    - `attributeGroupId` string: Attribute group ID. Related attributes are grouped for easy identification and maintenance
    - `id` string: Attribute ID
    - `value` union
      - string
      - number
      - boolean
    - `isDefault` boolean: Indicates if this is the default attribute of the item
  - `parent` string: If the item has a parent product, it displays the parent product ID
  - `itemFamily` string: Parent family to which the item belongs to. All items belongs to an itemFamily
  - `description` string: Description of the product
  - `variants` string[]: Shows if any variant of the product is available, based on color or size and other details.
  - `state` string: Status of the product. READY indicates the item along with all of its attributes is rady is to be published on the product listing page.
  - `images` object[]: Details of images of the item displayed on the copilot UI
    - `id` string: Image ID
    - `order` number: Sequence number of the product on copilot UI
    - `label` string
    - `source` object[]: Source of the images of the item
      - `id` string: Source ID of the image
      - `url` string: Source URL of the image
  - `sku` string: SKU of the product
  - `isSoftDeleted` boolean: true indicates the item is removed from the copilot UI<br /> false indicates item is not removed from the copilot UI

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/fabric/apis/offers-v2.md) - [All operations](https://skmtc.dev/fabric/apis/offers-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/fabric/apis/offers-v2/revisions/da2bd742b9bc?raw)
