Documentation Index
Fetch the complete documentation index at: https://mintlify.com/medusajs/medusa/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Pricing API enables sophisticated pricing strategies including price lists, customer group pricing, region-specific pricing, and currency management. Base Path:/admin/price-lists
Source: packages/medusa/src/api/admin/price-lists/route.ts
Price Lists
Price lists allow you to define custom prices for products based on customer groups, regions, or specific conditions.List Price Lists
Retrieve all price lists with filtering and pagination.Query Parameters
Comma-separated list of fields to include.
Maximum number of price lists to return.
Number of price lists to skip.
Search query for price list name or description.
Filter by status:
active or draft.Filter by type:
sale or override.Request
Response
Array of price list objects.
Price list type:
sale: Reduces prices during promotionsoverride: Replaces default prices for specific groups/regions
Price list status:
active: Currently in effectdraft: Not yet active
packages/medusa/src/api/admin/price-lists/route.ts:13
Create Price List
Create a new price list.Request Body
The price list’s name.
Description of the price list.
Price list type:
sale or override.Status:
active or draft.ISO 8601 datetime when the price list becomes active.
ISO 8601 datetime when the price list expires.
Rules that determine when this price list applies.
Price overrides for variants.
Request
Response
packages/medusa/src/api/admin/price-lists/route.ts:38
Get Price List
Retrieve a single price list by ID.Path Parameters
The price list’s ID.
Update Price List
Update a price list.Request Body
Accepts the same fields as Create Price List, all optional.Request
Delete Price List
Delete a price list.Request
Response
Price List Prices
Add Prices to Price List
Add variant prices to an existing price list.Request Body
Prices to add.
Existing prices to update.
Array of price IDs to remove.
Remove Prices from Price List
Remove specific prices from a price list.Price Preferences
List Price Preferences
Retrieve pricing preferences configuration.packages/medusa/src/api/admin/price-preferences/route.ts
Update Price Preferences
Configure global pricing preferences.Variant Pricing
Update Variant Prices
Update prices for a specific product variant.Request Body
Array of prices to set.
Request
Currencies
List Currencies
Retrieve available currencies.Response
packages/medusa/src/api/admin/currencies/route.ts
Update Currency
Enable or disable a currency.Request Body
Set as the default currency.
packages/medusa/src/api/admin/currencies/[code]/route.ts
Pricing Examples
Quantity-Based Pricing
Set up volume discounts:Customer Group Pricing
Create a price list for wholesale customers:Region-Specific Pricing
Set different prices per region:Next Steps
Products
Manage product pricing
Promotions
Create promotional discounts