curl --request GET \
--url https://api.henrylabs.ai/v0/checkout/guest/addresses \
--header 'x-access-token: <api-key>' \
--header 'x-api-key: <api-key>'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"addresses": [
{
"fullName": "John Doe",
"email": "john.doe@example.com",
"phoneNumber": "+1234567890",
"addressLine1": "350 5th Ave",
"countryCode": "US",
"city": "New York",
"stateOrProvince": "New York",
"postalCode": "10001",
"addressLine2": "Apt 1",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isDefault": true
}
]
}
}Returns the list of saved guest shipping addresses for the current checkout session.
curl --request GET \
--url https://api.henrylabs.ai/v0/checkout/guest/addresses \
--header 'x-access-token: <api-key>' \
--header 'x-api-key: <api-key>'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"addresses": [
{
"fullName": "John Doe",
"email": "john.doe@example.com",
"phoneNumber": "+1234567890",
"addressLine1": "350 5th Ave",
"countryCode": "US",
"city": "New York",
"stateOrProvince": "New York",
"postalCode": "10001",
"addressLine2": "Apt 1",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isDefault": true
}
]
}
}Supabase access token for authentication.
Required when authenticating with API key
Was this page helpful?