Documentation
Feedback
Guides
API Reference

API Reference
Filter By
Post
Get
Put
Delete
Patch

Promotions & Taxes API

Check the new Promotions onboarding guide. We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Promotions and is organized by focusing on the developer's journey.

The Promotions & Taxes API allows you to manage and retrieve all promotions, coupons and tax rules from your VTEX store.

Index

Promotions and taxes

Coupons

Prices (Legacy - v1)

Bundles

Campaign Audiences

Notifications

Common parameters in the documentation

Parameter name Description
{{accountName}} Name of the VTEX account. Used as part of the URL.
{{environment}} Name of the VTEX account. Used as part of the URL.
{{X-VTEX-API-AppKey}} Unique identifier of the API key.
{{X-VTEX-API-AppToken}} Secret token of the API key.

Endpoints

Promotions and taxes

SummaryMethodPath
Get all promotionsGET/api/rnb/pvt/benefits/calculatorconfiguration
Search promotion by nameGET/api/rnb/pvt/benefits/calculatorconfiguration/search
Get all taxesGET/api/rnb/pvt/taxes/calculatorconfiguration
Get promotion or tax by IDGET/api/rnb/pvt/calculatorconfiguration/{idCalculatorConfiguration}
Seller opt-in or opt-outPOST/api/rnb/pvt/calculatorconfiguration/{promotionId}/seller-opt
Create or update promotion or taxPOST/api/rnb/pvt/calculatorconfiguration
Create multiple SKU promotionPOST/api/rnb/pvt/import/calculatorConfiguration
Update multiple SKU promotionPUT/api/rnb/pvt/import/calculatorConfiguration/{promotionId}
Archive promotion or taxPOST/api/rnb/pvt/archive/calculatorConfiguration/{idCalculatorConfiguration}
Unarchive promotion or taxPOST/api/rnb/pvt/unarchive/calculatorConfiguration/{idCalculatorConfiguration}
List archived promotionsGET/api/rnb/pvt/archive/benefits/calculatorConfiguration
List archived taxesGET/api/rnb/pvt/archive/taxes/calculatorConfiguration

Coupons

SummaryMethodPath
Create multiple couponsPOST/api/rnb/pvt/multiple-coupons
Create or update couponPOST/api/rnb/pvt/coupon
Get all couponsGET/api/rnb/pvt/coupon
Get coupon by coupon codeGET/api/rnb/pvt/coupon/{couponCode}
Get archived coupon by coupon codeGET/api/rnb/pvt/archive/coupon/{couponCode}
Archive coupon by coupon codePOST/api/rnb/pvt/archive/coupon/{couponCode}
Generate coupons in bulkPOST/api/rnb/pvt/coupons
Get coupon usageGET/api/rnb/pvt/coupon/usage/{couponCode}
Unarchive coupon by coupon codePOST/api/rnb/pvt/unarchive/coupon/{couponCode}

Campaign Audiences

SummaryMethodPath
Get campaign audience configurationGET/api/rnb/pvt/campaignConfiguration/{campaignId}
Get all campaign audiencesGET/api/rnb/pvt/campaignConfiguration
Create campaign audiencePOST/api/rnb/pvt/campaignConfiguration

Bundles

SummaryMethodPath
Calculate discounts and taxes bundlesPOST/pub/bundles

Prices (Legacy - v1)

SummaryMethodPath
Get price by SKU IDGET/price-sheet/{skuId}
Delete price by SKU IDDELETE/price-sheet/{skuId}
Get all paged pricesGET/price-sheet/all/{page}/{pageSize}
Get price by contextPOST/price-sheet/context
Get price by SKU ID and trade policyGET/price-sheet/{skuId}/{tradePolicy}
Save pricePOST/price-sheet

Loading API specification...