---
title: "Get Skus and itemIds in a specific pricelist"
method: GET
path: "/api-offers/items/priceListId/{priceListId}"
tags: ["Item"]
---

# Get Skus and itemIds in a specific pricelist

`GET /api-offers/items/priceListId/{priceListId}`

## Request

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

Retrieves Skus and itemIds for which there is a price entry in a specific pricelist. The pricelist is identified by priceListId.

## Path parameters

- `priceListId` string, required

## Query parameters

- `offset` number
- `limit` number
- `sortBy` 'itemId' | 'updatedAt'
- `sortOrder` 'desc, asc'

## Headers

- `x-site-context` string, required

## Response `200`

OK

- GetItemIdsAndItemSkusResponse
  - `query` object: Object containing the limit, count and offset of records in the response.
    - `limit` number: The maximum number of records per page.
    - `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.
    - `count` number: The total number of records.
  - `data` object[]: Array containing the itemIds and itemSkus
    - `itemId` number: itemId of the product
    - `itemSku` string: SKU of the product

## 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)
