cURL
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": "[email protected]", "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.
Supabase access token for authentication.
Required when authenticating with API key
Checkout session shipping retrieved successfully
Show child attributes
Full name
1
"John Doe"
Email
"[email protected]"
Phone number
"+1234567890"
Address line 1
"350 5th Ave"
Country code
2
"US"
City
"New York"
State or province
Postal code
"10001"
Address line 2
"Apt 1"