cURL
curl --request POST \ --url https://connect.withvayu.com/customer-relations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "vayuParentCustomerId": "<string>", "vayuChildCustomerId": "<string>" } '
{ "customerRelation": { "vayuParentCustomerId": "<string>", "vayuChildCustomerId": "<string>", "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Create a new Customer relation.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Identifier of the parent customer in Vayu.
Identifier of the child customer in Vayu.
RequestSuccess
Show child attributes