Get Next purchase

Lists details of a given subscription group's next purchase, filtering by dateStr.

DateStr: Reference date that retrieves all next purchases, starting from the {{dateStr}} inserted. Must be in the format of {{yyyyMMdd}}.

Request body example

curl --location --request GET 'https://{{accountName}}.{{environment}}.com.br/api/rns/subscriptions-group/nextPurchase/{{dateStr}}' \
--header 'Accept: application/json' \
--header 'X-VTEX-API-AppToken: {{X-VTEX-API-AppToken}}' \
--header 'X-VTEX-API-AppKey: {{X-VTEX-API-AppKey}}'
Language
Authentication
URL
Click Try It! to start a request and see the response here!