cURL
curl --request POST \ --url https://api.example.com/customers/policies/{policyId} \ --header 'Content-Type: application/json' \ --data ' { "role": "<string>", "customFields": [ { "key": "<string>", "value": "<string>" } ] } '
{ "customerId": "<string>" }
The policy id to attach the new customer to
Optional: the whenAt datetime
Optional: the branchId
The role of the customer on the policy
Custom fields for the customer
Show child attributes
The created customer id
Was this page helpful?