Set customer data
documentedSet or update a customer's data payload.
PUT /api/customers/{id}/dataCustomersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$domain}}.gorgias.com/api/customers/{{$customer_id}}/data" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"data": {"custom_field_1": "{{$custom_value_1}}", "custom_field_2": "{{$custom_value_2}}"}}'