Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/vtex-coupons-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: VTex Promotions & Taxes API v2 Coupons API
description: "Check the new [Promotions onboarding guide](https://developers.vtex.com/vtex-rest-api/docs/promotions-overview). 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.\n\n The Promotions & Taxes API allows you to manage and retrieve all coupons from your VTEX store.\n\n ## Index\n\n ### Coupons \n- `GET` [Get coupons](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#get-/api/rnb/v2/pvt/coupon)\n- `GET` [Get archived coupons](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#get-/api/rnb/v2/pvt/coupon/group/archived)\n- `GET` [Get coupon batch information](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#get-/api/rnb/v2/pvt/coupon/group/-groupingKey-)\n- `PUT` [Edit coupon batch configuration](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#put-/api/rnb/v2/pvt/coupon/group/-groupingKey-)\n- `GET` [Get coupon batch codes](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#get-/api/rnb/v2/pvt/coupon/group/-groupingKey-/codes)\n- `PUT` [Archive a coupon batch](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#put-/api/rnb/v2/pvt/coupon/group/-groupingKey-/archive)\n- `POST` [Create coupon batches](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#post-/api/rnb/v2/pvt/coupon/group)\n- `PUT` [Unarchive a coupon batch](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#put-/api/rnb/v2/pvt/coupon/group/-groupingKey-/unarchive)\n- `GET` [Get usage count for a single coupon](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#get-/api/rnb/v2/pvt/coupon/usage-count/-couponCode-)\n- `GET` [Get usage count for a coupon batch](https://developers.vtex.com/docs/api-reference/promotions-and-taxes-api-v2#get-/api/rnb/v2/pvt/coupon/usage-count/group/-groupingKey-)\n\n## Common parameters in the documentation\n\n| Parameter name | Description |\n|---------------------------|-----------------------------------------------------------------------------------------|\n| `{{accountName}}` | Store account name. |\n| `{{environment}}` | The environment that will be called. |\n| `{{X-VTEX-API-AppKey}}` | Located in the headers of the requests, user authentication key. |\n| `{{X-VTEX-API-AppToken}}` | Located in the headers of the requests, authentication password. |\n"
contact: {}
version: '1.0'
servers:
- url: https://{accountName}.{environment}.com.br
description: VTEX server URL
variables:
accountName:
description: Name of the VTEX account. Used as part of the URL.
default: apiexamples
environment:
description: Environment to use. Used as part of the URL.
enum:
- vtexcommercestable
default: vtexcommercestable
security:
- appKey: []
appToken: []
- VtexIdclientAutCookie: []
tags:
- name: Coupons
paths:
/api/rnb/v2/pvt/coupon:
get:
tags:
- Coupons
summary: VTex Get coupons
operationId: Getgroupedcoupons
description: 'Retrieves the list of all active coupons.
## Permissions
Any user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-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** |
| --------------- | ----------------- | ----------------- |
| Rates and Benefits | Promotions | **Manage benefits and rates** |
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 app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.'
parameters:
- name: Content-Type
in: header
description: Describes the type of the content being sent.
required: true
style: simple
schema:
type: string
default: application/json
- name: Accept
in: header
description: HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.
required: true
style: simple
schema:
type: string
default: application/json
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/getcoupons'
example:
items:
- grouping:
key: rewardsprogram
amount: 1000
configuration:
lastModifiedUtc: '2022-04-20T20:07:03.5066878Z'
utmSource: fb
utmCampaign: rewards
isArchived: false
maxItemsPerClient: 0
expirationIntervalPerUse: 00:00:00
maxUsage: 3
groupingKey: rewardsprogram
pagination:
page: 0
pageSize: 10
total: 10
deprecated: false
/api/rnb/v2/pvt/coupon/group/archived:
get:
tags:
- Coupons
summary: VTex Get archived coupons
operationId: Getgroupedarchivedcoupons
description: 'Retrieves the list of all archived coupons.
## Permissions
Any user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-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** |
| --------------- | ----------------- | ----------------- |
| Rates and Benefits | Promotions | **Manage benefits and rates** |
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 app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.'
parameters:
- name: Content-Type
in: header
description: Describes the type of the content being sent.
required: true
style: simple
schema:
type: string
default: application/json
- name: Accept
in: header
description: HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.
required: true
style: simple
schema:
type: string
default: application/json
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/getcoupons'
example:
items:
- grouping:
key: rewardsprogram
amount: 1000
configuration:
lastModifiedUtc: '2022-04-20T20:07:03.5066878Z'
utmSource: fb
utmCampaign: rewards
isArchived: true
maxItemsPerClient: 0
expirationIntervalPerUse: 00:00:00
maxUsage: 3
groupingKey: rewardsprogram
pagination:
page: 0
pageSize: 10
total: 10
deprecated: false
/api/rnb/v2/pvt/coupon/group/{groupingKey}:
get:
tags:
- Coupons
summary: VTex Get coupon batch information
description: 'Retrieves information from a specific coupon batch based on its `groupingKey`.
## Permissions
Any user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-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** |
| --------------- | ----------------- | ----------------- |
| Rates and Benefits | Promotions | **Manage benefits and rates** |
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 app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.'
operationId: Getcoupongroupinformation
parameters:
- name: Content-Type
in: header
description: Describes the type of the content being sent.
required: true
style: simple
schema:
type: string
default: application/json
- name: Accept
in: header
description: HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.
required: true
style: simple
schema:
type: string
default: application/json
- name: groupingKey
in: path
description: Coupon grouping key, which is the prefix for the coupon batch's generated codes.
required: true
style: simple
schema:
type: string
example: promo
responses:
'200':
description: OK
content:
application/json:
schema:
description: Coupon batch information.
type: object
properties:
configuration:
title: configuration
description: Object containing the coupon's properties.
type: object
properties:
lastModifiedUtc:
title: lastModifiedUtc
description: Date when the coupon was modified for the last time, in the UTC format.
type: string
utmSource:
title: utmSource
description: UTM source related to the coupon, which indicates the source of the traffic, that is, from which site, advertiser, or publication the user came from.
type: string
utmCampaign:
title: utmCampaign
description: UTM campaign related to the coupon, which indicates the campaign that defines a particular marketing context.
type: string
isArchived:
title: isArchived
description: Determines whether the coupon is archived (`true`) or not (`false`).
type: boolean
maxItemsPerClient:
title: maxItemsPerClient
description: This option is non-editable and visible only for existing coupons configured with this limitation in previous versions of Coupons. When enabled, it determines the maximum amount of products to which the coupon can be applied. The defined quantity is valid for one or more purchases by the same customer.
type: number
expirationIntervalPerUse:
title: expirationIntervalPerUse
description: This option is non-editable and visible only for existing coupons configured with this limitation in previous versions of the Coupons module. When enabled, it determines how many days after purchase the coupon will be available for use again.
type: string
maxUsage:
title: maxUsage
description: The maximum number of times the coupon can be used, if the coupon has limited usage.
type: number
groupingKey:
title: groupingKey
description: Coupon grouping key, which is the prefix for the coupon batch's generated codes.
type: string
grouping:
title: grouping
description: Coupon batch.
type: object
properties:
key:
title: key
description: Coupon grouping key, which is the prefix for the coupon batch's generated codes.
type: string
amount:
title: amount
description: Amount of codes in the coupon batch.
type: number
example:
configuration:
lastModifiedUtc: '2022-02-15T19:18:28.6409703Z'
utmSource: fb
utmCampaign: rewards
isArchived: false
maxItemsPerClient: 13
expirationIntervalPerUse: 00:00:00
maxUsage: 11
groupingKey: '12130984756'
grouping:
key: '12130984756'
amount: 5
deprecated: false
put:
tags:
- Coupons
summary: VTex Edit coupon batch configuration
description: 'Changes information from a specific coupon batch configuration based on its `groupingKey`.
## Permissions
Any user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-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** |
| --------------- | ----------------- | ----------------- |
| Rates and Benefits | Promotions | **Manage benefits and rates** |
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 app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.'
operationId: Editcoupongroupconfiguration
parameters:
- name: Content-Type
in: header
description: Describes the type of the content being sent.
required: true
style: simple
schema:
type: string
default: application/json
- name: Accept
in: header
description: HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.
required: true
style: simple
schema:
type: string
default: application/json
- name: groupingKey
in: path
description: Coupon grouping key, which is the prefix for the coupon batch's generated codes.
required: true
style: simple
schema:
type: string
example: promo
requestBody:
description: Request body to edit coupon batch configuration information.
content:
application/json:
schema:
title: Editcoupongroupconfiguration
required:
- isArchived
- maxUsage
type: object
properties:
utmSource:
title: utmSource
description: UTM source related to the coupon, which indicates the source of the traffic, that is, from which site, advertiser, or publication the user came from. It is mandatory to provide either `utmSource` or `utmCampaign`.
type: string
example: fb
utmCampaign:
title: utmCampaign
description: UTM campaign related to the coupon, which indicates the campaign that defines a particular marketing context. It is mandatory to provide either `utmSource` or `utmCampaign`.
type: string
example: blackfriday
isArchived:
title: isArchived
description: Determines whether the coupon is archived (`true`) or not (`false`).
type: boolean
example: false
maxItemsPerClient:
title: maxItemsPerClient
description: This option is non-editable and visible only for existing coupons configured with this limitation in previous versions of Coupons. When enabled, it determines the maximum amount of products to which the coupon can be applied. The defined quantity is valid for one or more purchases by the same customer.
type: number
example: 0
expirationIntervalPerUse:
title: expirationIntervalPerUse
description: This option is non-editable and visible only for existing coupons configured with this limitation in previous versions of the Coupons module. When enabled, it determines how many days after purchase the coupon will be available for use again.
type: string
example: 14.00:00:00
maxUsage:
title: maxUsage
description: The maximum number of times the coupon can be used, if the coupon has limited usage.
type: number
example: 3
example:
utmSource: source
isArchived: false
maxItemsPerClient: 0
expirationIntervalPerUse: 00:00:00
maxUsage: 4
required: true
responses:
'200':
description: OK
content:
application/json:
example:
- 12130984756-bbbsqz5lxivwvx7
- 12130984756-31xj4idmfbmh9am
- 12130984756-pxpdsou99n3bmsn
- 12130984756-juzl9asvq8z4sjn
- 12130984756-gyo7a2v0s9v7s07
schema:
type: array
description: Array with the coupon batch codes.
items:
type: string
description: Coupon code.
'400':
description: Bad Request
content:
text/plain:
schema:
type: string
description: Error message.
example: It is not possible to edit an archived coupon group.
deprecated: false
/api/rnb/v2/pvt/coupon/group/{groupingKey}/codes:
get:
tags:
- Coupons
summary: VTex Get coupon batch codes
description: 'Retrieves a specific coupon batch''s list of codes.
## Permissions
Any user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-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** |
| --------------- | ----------------- | ----------------- |
| Rates and Benefits | Promotions | **Manage benefits and rates** |
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 app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.'
operationId: Getcoupongroupcodes.
parameters:
- name: Content-Type
in: header
description: Describes the type of the content being sent.
required: true
style: simple
schema:
type: string
default: application/json
- name: Accept
in: header
description: HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.
required: true
style: simple
schema:
type: string
default: application/json
- name: groupingKey
in: path
description: Coupon grouping key, which is the prefix for the coupon batch's generated codes.
required: true
style: simple
schema:
type: string
example: promo
responses:
'200':
description: OK
content:
application/json:
example:
- 12130984756-bbbsqz5lxivwvx7
- 12130984756-31xj4idmfbmh9am
- 12130984756-pxpdsou99n3bmsn
- 12130984756-juzl9asvq8z4sjn
- 12130984756-gyo7a2v0s9v7s07
schema:
type: array
description: Array with the coupon batch codes.
items:
type: string
description: Coupon code.
'404':
description: Not Found
content:
text/plain:
schema:
type: string
description: Error message.
example: Coupon Group Not Found
deprecated: false
/api/rnb/v2/pvt/coupon/group/{groupingKey}/archive:
put:
tags:
- Coupons
summary: VTex Archive a coupon batch
description: 'Archives a coupon batch and its respective codes.
## Permissions
Any user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-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** |
| --------------- | ----------------- | ----------------- |
| Rates and Benefits | Promotions | **Manage benefits and rates** |
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 app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.'
operationId: Archivedcoupongroup
parameters:
- name: Content-Type
in: header
description: Describes the type of the content being sent.
required: true
style: simple
schema:
type: string
default: application/json
- name: Accept
in: header
description: HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.
required: true
style: simple
schema:
type: string
default: application/json
- name: groupingKey
in: path
description: Coupon grouping key, which is the prefix for the coupon batch's generated codes.
required: true
style: simple
schema:
type: string
example: promo
responses:
'200':
description: OK
content:
application/json:
schema:
type: number
description: Number of archived coupons.
example: 1
'404':
description: Not Found
content:
text/plain:
schema:
type: string
description: Error message.
example: Coupon Group Not Found
deprecated: false
/api/rnb/v2/pvt/coupon/group:
post:
tags:
- Coupons
summary: VTex Create coupon batches
description: 'Creates one or more coupon batches.
## Permissions
Any user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-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** |
| --------------- | ----------------- | ----------------- |
| Rates and Benefits | Promotions | **Manage benefits and rates** |
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 app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.'
operationId: Creategroupsofcoupons
parameters:
- name: Content-Type
in: header
description: Describes the type of the content being sent.
required: true
style: simple
schema:
type: string
default: application/json
- name: Accept
in: header
description: HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.
required: true
style: simple
schema:
type: string
default: application/json
requestBody:
description: Request body create coupon batches.
content:
application/json:
schema:
type: array
description: Array of objects containing coupon batches information.
items:
required:
- couponConfiguration
- quantity
type: object
title: CreategroupsofcouponsRequest
description: Object containing coupon batch information.
properties:
couponConfiguration:
required:
- couponCode
- maxUsage
title: CouponConfiguration
description: Object containing the coupon's properties.
type: object
properties:
utmSource:
title: utmSource
description: UTM source related to the coupon, which indicates the source of the traffic, that is, from which site, advertiser, or publication the user came from. It is mandatory to provide either `utmSource` or `utmCampaign`.
type: string
example: fb
utmCampaign:
title: utmCampaign
description: UTM campaign related to the coupon, which indicates the campaign that defines a particular marketing context. It is mandatory to provide either `utmSource` or `utmCampaign`.
type: string
example: blackfriday
couponCode:
title: couponCode
description: Coupon batch prefix.
type: string
example: rewards10
expirationIntervalPerUse:
title: expirationIntervalPerUse
description: This option is non-editable and visible only for existing coupons configured with this limitation in previous versions of the Coupons module. When enabled, it determines how many days after purchase the coupon will be available for use again.
type: string
example: 14.00:00:00
maxItemsPerClient:
title: maxItemsPerClient
description: This option is non-editable and visible only for existing coupons configured with this limitation in previous versions of Coupons. When enabled, it determines the maximum amount of products to which the coupon can be applied. The def
# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/vtex/refs/heads/main/openapi/vtex-coupons-api-openapi.yml