cURL
curl --request POST \ --url https://live.copilot.fabric.inc/data-customer/v1/user-addresses \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-site-context: <x-site-context>' \ --data '{ "userId": "TEST_USER", "addressId": "6123f2adcbab9f51ccc420d6" }'
{ "_id": "612d1f7d786117000981e485", "userId": "TEST_USER1", "addressId": "612d1f74d702e70008573abe", "createdAt": "2021-08-30T18:12:13.090Z", "updatedAt": "2021-08-30T18:12:13.090Z" }
Was this page helpful?