---
title: "Get all price tables and their rules"
method: GET
path: "/pricing/pipeline/catalog"
tags: ["Price Tables"]
---

# Get all price tables and their rules

`GET /pricing/pipeline/catalog`

Retrieves a list of all price tables and their rules.


## Permissions

Any user or [API key](https://developers.vtex.com/docs/guides/api-authentication-using-api-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:

| **Product** | **Category** | **Resource** |
| --------------- | ----------------- | ----------------- |
| Pricing | Price List | **Read prices** |

There are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).

>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing API keys](https://help.vtex.com/en/tutorial/best-practices-api-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.

## Headers

- `Content-Type` string, required
- `Accept` string, required

## Response `200`

OK

- object[]
  - `tradePolicyId` string — Trade Policy ID (Price Table ID).
  - `rules` object[] — Array of rules for the price table.
    - `id` number — Rule ID.
    - `context` object — Rule Context is a group of filters to be checked at an item level when applying the rule. If all those filters check out, the rule will be applied for that item, unless there is a fixed price for that item.
      - `categories` object — Categories that an item should have to be eligible for the rule. Format: key: `categoryId`, value: `categoryName`.
      - `brands` object — Brands that an item should have to be eligible for the rule. Format: key: `brandId`, value: `brandName`.
      - `stockStatuses` object, nullable — Stock statuses.
      - `internalCategories` object, nullable — Internal Categories.
      - `markupRange` object, nullable — For an item to be eligible to the rule, it's markup should be in this Markup Range.
        - `from` integer — Item markup should be greater than or equal to this value.
        - `to` integer — Item markup should be less than or equal to this value.
      - `dateRange` object, nullable — The rule will be active during this time range.
        - `from` string — Date when rule will be activated. Date format: `RFC3339`.
        - `to` string — Date when the rule will be deactivated. Date format: `RFC3339`.
  - `percentualModifier` integer — Percentual modifier.

## Changes

- **2023-02-17** `49631b235d69` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vtex/apis/pricing-api/changes/pricing/pipeline/catalog/get.md)

---

[API](https://skmtc.dev/vtex/apis/pricing-api.md) · [All operations](https://skmtc.dev/vtex/apis/pricing-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vtex/pricing-api/revisions/7757b5647fed/schema)
