Skip to main content
POST
/
v1
/
customers
/
metadata
/
async
Update Customers' Metadata in Bulk
curl --request POST \
  --url https://{cluster}.voucherify.io/v1/customers/metadata/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>' \
  --data '{
  "source_ids": [
    "source_123",
    "source_456"
  ],
  "metadata": {
    "lang": "en",
    "test": false
  }
}'
{
  "async_action_id": "aa_0a875d56c805df6601"
}

Authorizations

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

Body

application/json
source_ids
string[]
required
metadata
object
required

Response

async_action_id
string
required
Example: