Skip to main content
POST
/
v1
/
vouchers
/
metadata
/
async
Update Vouchers' Metadata in Bulk
curl --request POST \
  --url https://{cluster}.voucherify.io/v1/vouchers/metadata/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>' \
  --data '{
  "codes": [
    "PROMO-CODE810",
    "PROMO-CODE726"
  ],
  "metadata": {
    "lang": "en",
    "authorized_internally": true
  }
}'
{
  "async_action_id": "aa_0ab2df092385be5ca5"
}

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

Body

application/json
codes
string[]
required
metadata
object
required
Example:

Response

async_action_id
string
required
Example: