---
name: pricing-api
description: "Pricing API skill. Use when working with Pricing for pricing. Covers 17 endpoints."
version: 1.0.0
generator: lapsh
---

# Pricing API
API version: 1.0

## Auth
ApiKey X-VTEX-API-AppKey in header | ApiKey X-VTEX-API-AppToken in header | ApiKey VtexIdclientAutCookie in header

## Base URL
https://api.vtex.com/apiexamples

## Setup
1. Set your API key in the appropriate header
2. GET /pricing/config -- verify access
3. POST /pricing/prices/{itemId}/fixed/{priceTableId} -- create first fixed

## Endpoints

17 endpoints across 1 groups. See references/api-spec.lap for full details.

### pricing
| Method | Path | Description |
|--------|------|-------------|
| GET | /pricing/prices/{itemId} | Get price by SKU ID |
| DELETE | /pricing/prices/{itemId} | Delete price all base and fixed prices of an SKU |
| PUT | /pricing/prices/{itemId} | Create or update base price or fixed price |
| GET | /pricing/prices/{itemId}/fixed | Get fixed prices |
| PATCH | /pricing/prices/{itemId}/fixed | Create or update base price or fixed price |
| POST | /pricing/prices/{itemId}/fixed/{priceTableId} | Create or update fixed prices on a price table or trade policy |
| GET | /pricing/prices/{itemId}/fixed/{priceTableId} | Get fixed prices on a price table or trade policy |
| DELETE | /pricing/prices/{itemId}/fixed/{priceTableId} | Delete fixed prices on a price table or trade policy |
| GET | /pricing/prices/{itemId}/computed | Get computed prices for all price tables |
| GET | /pricing/prices/{itemId}/computed/{priceTableId} | Get computed price by price table or trade policy |
| GET | /pricing/config | Get pricing configuration |
| GET | /pricing/migration | Get pricing v2 status |
| GET | /pricing/pipeline/catalog/{priceTableId} | Get rules for a price table |
| PUT | /pricing/pipeline/catalog/{priceTableId} | Update rules for a price table |
| PUT | /pricing/tables/{priceTableId} | Create price table |
| GET | /pricing/pipeline/catalog | Get all price tables and their rules |
| GET | /pricing/tables | List price tables |

## Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Get price details?" -> GET /pricing/prices/{itemId}
- "Delete a price?" -> DELETE /pricing/prices/{itemId}
- "Update a price?" -> PUT /pricing/prices/{itemId}
- "List all fixed?" -> GET /pricing/prices/{itemId}/fixed
- "Get fixed details?" -> GET /pricing/prices/{itemId}/fixed/{priceTableId}
- "Delete a fixed?" -> DELETE /pricing/prices/{itemId}/fixed/{priceTableId}
- "List all computed?" -> GET /pricing/prices/{itemId}/computed
- "Get computed details?" -> GET /pricing/prices/{itemId}/computed/{priceTableId}
- "List all config?" -> GET /pricing/config
- "List all migration?" -> GET /pricing/migration
- "Get catalog details?" -> GET /pricing/pipeline/catalog/{priceTableId}
- "Update a catalog?" -> PUT /pricing/pipeline/catalog/{priceTableId}
- "Update a table?" -> PUT /pricing/tables/{priceTableId}
- "List all catalog?" -> GET /pricing/pipeline/catalog
- "List all tables?" -> GET /pricing/tables
- "How to authenticate?" -> See Auth section

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints typically return the created/updated object

## CLI

```bash
# Update this spec to the latest version
npx @lap-platform/lapsh get pricing-api -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search pricing-api
```

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
