Skip to main content
GET
/
customer
Get Customer Details
curl --request GET \
  --url https://api.craveup.com/api/v1/customer \
  --header 'Authorization: Bearer <token>'
{
  "id": "cust_12345",
  "profilePicture": "https://cdn.example.com/avatar.jpg",
  "customerEmail": "user@example.com",
  "customerName": "John Doe",
  "lastName": "Doe",
  "phoneNumber": "+1234567890"
}

Authorizations

Authorization
string
header
required

Storefront customer session JWT acquired from the login + OTP flow.

Response

Customer details retrieved successfully.

id
string
required
Example:

"cust_12345"

customerName
string
required
Example:

"John Doe"

profilePicture
string | null
Example:

"https://cdn.example.com/avatar.jpg"

customerEmail
string | null
Example:

"user@example.com"

lastName
string | null
Example:

"Doe"

phoneNumber
string | null
Example:

"+1234567890"

I