Skip to content
CustomersCustomer

Get customer registration details

Returns the requested fields, the customer's details and whether registration is pending.

GET/v1/customer/registration
Requires an access token.

Header Parameters

Authorization*string

OAuth 2.0 bearer token.

x-Store-Domain*string

Slug of the store or one of its configured domains, such as my-store.

Length1 <= length <= 253
X-Customer-Session?string

Customer session from POST /v1/customer/sessions. Send it instead of Authorization, never both.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://storefront.ecomiq.pe/v1/customer/registration" \  -H "Authorization: Bearer <token>" \  -H "x-Store-Domain: my-store" \  -H "X-Customer-Session: <session-id>"
{  "fields": {    "firstName": "required",    "lastName": "optional",    "phone": "hidden",    "dateOfBirth": "optional"  },  "firstName": null,  "lastName": null,  "phone": null,  "dateOfBirth": null,  "requiresCompletion": true}