POST
/
v1
/
customFields
/
setValues
Set custom field values
curl --request POST \
  --url https://api.metronome.com/v1/customFields/setValues \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "entity": "customer",
  "entity_id": "99594816-e8a5-4bca-be21-8d1de0f45120",
  "custom_fields": {
    "x_account_id": "KyVnHhSBWl7eY2bl"
  }
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The custom field values to set

The body is of type object.

Response

200

Success