cURL
curl --request GET \ --url https://api.craveup.com/api/v1/customer \ --header 'Authorization: Bearer <token>'
{ "id": "cust_12345", "customerName": "John Doe", "profilePicture": "https://cdn.example.com/avatar.jpg", "customerEmail": "[email protected]", "lastName": "Doe", "phoneNumber": "+1234567890" }
Retrieves the authenticated customer profile associated with the session JWT.
Storefront customer session JWT acquired from the login + OTP flow.
Customer details retrieved successfully.
"cust_12345"
"John Doe"
"https://cdn.example.com/avatar.jpg"
"[email protected]"
"Doe"
"+1234567890"