Skip to content
Coursey CreativeSign in

GET /customer/profile

/api/store/[slug]/customer/profile

Returns the signed-in customer's profile for this business, auto-creating an empty profile (marketing_opt_in false) on first access.

Customer bearer token requiredHow authentication works

Path parameters

slugstringrequired

Business store slug (non-empty string); 404 if no business matches.

Responses

200

The request succeeded.

401

The key or customer token is missing, malformed, or no longer valid.

404

No such store, or no such record inside it.

500

Something failed on our side. The response carries no detail; retry is safe on a GET.

What comes back

200: { success: true, profile: { id, first_name, last_name, phone, default_shipping_address, marketing_opt_in, created_at, updated_at } }. Errors: { success: false, error } with 401, 404, or 500.