---
title: "Get all sku-lists excluded from discounts"
method: GET
path: "/api-offers/sku-list"
tags: ["Global exclusion"]
---

# Get all sku-lists excluded from discounts

`GET /api-offers/sku-list`

## Request

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

Retrieves a paginated list of sku-lists that contain products that are excluded from being discounted.

## Query parameters

- `limit` number
- `offset` number
- `date` string

## Headers

- `x-site-context` string, required

## Response `200`

OK

- ListSkuListResponse
  - `query` GenericListQueryResponse: Paging details used for selecting list
    - `limit` number: The maximum number of records per page.
    - `count` number: The total number of records.
    - `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.
  - `data` SkuList[]: Response data
    - `_id` string: fabric database objectId of the record
    - `title` string: SkuList name or title
    - `listType` 'GLOBAL_EXCLUSION': Type of skulist
    - `applicableOn` string[]: Applicable scope of skulist
    - `targetProducts` SkuListTargetProduct[]: Array of products to be exempted from being discounted
      - `kind` 'SKU' | 'CATEGORY' | 'ATTRIBUTE'
      - `value` string[]
    - `startDate` string, date-time: Start date of sku-list. The value must be in the future. It indicates the date from when the discount will not be applicable to the products mentioned in the sku-list.
    - `endDate` string, date-time: End date of sku-list. The value must be greater than the start date. It indicates the date from when discount be applicable to the products mentioned in the sku-list.
    - `deleted` boolean: true: sku-list is deleted<br /> false: sku-list is not deleted
    - `createdAt` string, date-time: Creation date of the record
    - `updatedAt` string, date-time: Last updated date of the record

## Other responses

- `400`: Bad Request
- `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)
