curl --request GET \
--url https://api.henrylabs.ai/v0/checkout/session/shipping \
--header 'x-access-token: <api-key>' \
--header 'x-api-key: <api-key>'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"shippingDetails": {
"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"
},
"hasShipping": true
}
}Retrieves the shipping details for the current checkout session.
curl --request GET \
--url https://api.henrylabs.ai/v0/checkout/session/shipping \
--header 'x-access-token: <api-key>' \
--header 'x-api-key: <api-key>'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"shippingDetails": {
"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"
},
"hasShipping": true
}
}Supabase access token for authentication.
Required when authenticating with API key
Was this page helpful?