Skip to main content

Advanced

Setting the handle of customers

Handles identity a unique key for every Customer. A handle is based on a sequence counter which increases per Customer created. Handles consist of a syntax combined with parameters, and once compiled, the parameter is replaced with the desired value, as follows:
parameternote
sequence counter
Handles can be configured using the following snippet:
curl -X PATCH \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer {your_token_here}" \
     -H "X-environment: {your_environment_id_here}" \
     -H "X-version: 2022-03" \
     -d '{ "customers/handle": "CUS_{counter}" }' \
     https://api.plude.io/settings/