Add Subscription item by groupId

Adds an SKU to a given Subscription, filtering by groupId.

Request body example

curl --location --request POST 'https://{{accountName}}.{{environment}}.com.br/api/rns/subscriptions-group/{{groupId}}/additem' \
--header 'Content-Type: application/json' \
--header 'X-VTEX-API-AppToken: {{X-VTEX-API-AppToken}}' \
--header 'X-VTEX-API-AppKey: {{X-VTEX-API-AppKey}}' \
--data-raw '{
  "sku": {
    "id": "string",
    "name": "string",
    "productName": "string",
    "imageUrl": "string",
    "detailUrl": "string",
    "nameComplete": "string"
  },
  "quantity": 0,
  "priceAtSubscriptionDate": 0,
  "sellingPrice": 0,
  "endpoint": "string"
}'
Language
Authentication
URL
Click Try It! to start a request and see the response here!