Documentation
Feedback
Guides
API Reference

API Reference
Filter By
Post
Get
Put
Delete
Patch

Promotions & Taxes API v2

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 coupons from your VTEX store.

Index

Coupons

Common parameters in the documentation

Parameter name Description
{{accountName}} Store account name.
{{environment}} The environment that will be called.
{{X-VTEX-API-AppKey}} Located in the headers of the requests, user authentication key.
{{X-VTEX-API-AppToken}} Located in the headers of the requests, authentication password.

Endpoints

Coupons

SummaryMethodPath
Get couponsGET/api/rnb/v2/pvt/coupon
Get archived couponsGET/api/rnb/v2/pvt/coupon/group/archived
Get coupon batch informationGET/api/rnb/v2/pvt/coupon/group/{groupingKey}
Edit coupon batch configurationPUT/api/rnb/v2/pvt/coupon/group/{groupingKey}
Get coupon batch codesGET/api/rnb/v2/pvt/coupon/group/{groupingKey}/codes
Archive a coupon batchPUT/api/rnb/v2/pvt/coupon/group/{groupingKey}/archive
Create coupon batchesPOST/api/rnb/v2/pvt/coupon/group
Unarchive a coupon batchPUT/api/rnb/v2/pvt/coupon/group/{groupingKey}/unarchive
Get usage count for a single couponGET/api/rnb/v2/pvt/coupon/usage-count/{couponCode}
Get usage count for a coupon batchGET/api/rnb/v2/pvt/coupon/usage-count/group/{groupingKey}

Loading API specification...