Skip to main content
GET
/
checkout
/
session
/
shipping
Checkout Shipping Info
curl --request GET \
  --url https://api.sandbox.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",
      "addressLine2": "Apt 1",
      "countryCode": "US",
      "city": "New York",
      "stateOrProvince": "New York",
      "postalCode": "10001"
    },
    "hasShipping": true
  }
}

Authorizations

x-api-key
string
header
required
x-access-token
string
header
required

Supabase access token for authentication.

Headers

x-user-id
string

Required when authenticating with API key

Response

Checkout session shipping retrieved successfully

success
boolean
required
status
string
required
message
string
required
data
object