cURL
curl --request GET \ --url https://live.copilot.fabric.inc/data-customer/v1/user-addresses/user/{userId} \ --header 'Authorization: Bearer <token>' \ --header 'x-site-context: <x-site-context>'
{ "query": { "offset": 0, "limit": 2, "count": 1 }, "list": [ { "_id": "612d1f74d702e70008573abe", "isDeleted": false, "type": "M", "addressLine1": "709 Terra Street", "addressLine2": "Suite 201", "addressLine3": "Seattle, Washington, 98161", "city": "Seattle", "state": "Washington", "zipCode": 12345, "postalCode": "ABC-123", "country": "US", "createdAt": "2021-08-30T18:12:04.844Z", "updatedAt": "2021-08-30T18:12:04.844Z", "__v": 0 } ] }
_id
userId
username
Show child attributes
Was this page helpful?