post https://{accountName}.{environment}.com.br/api/rns/subscriptions-group//addresses
Insert address information of a given Subscription group, filtering by groupId.
Request body example
curl --location --request POST 'https://{{accountName}}.{{environment}}.com.br/api/rns/subscriptions-group/{{groupId}}/addresses' \
--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 '{
"addressId": "string",
"street": "string",
"number": "string",
"complement": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string",
"reference": "string",
"formattedAddress": "string",
"additionalComponents": [
{
"longName": "string",
"shortName": "string",
"types": [
"string"
]
}
],
"geoCoordinate": [
0
],
"receiverName": "string",
"addressType": "string",
"addressName": "string"
}'