Get customer

GET
/admin/customers/{id}

Authorization

headerx-api-key<token>

Organization-scoped API key with scope metadata.

Path Parameters

id*string

Response Body

Success

application/json
  1. response
id*string
email*string|null
firstName*string|null
lastName*string|null
phone*string|null
addresses*array<>
defaultAddressId*string|null
createdAt*string
updatedAt*string
orderCount*integer
Range-9007199254740991 <= value <= 9007199254740991
spent*number
Example Request
curl -X GET 'https://api-prood.vercel.app/v1/admin/customers/string'
Example Response
{  "id": "string",  "email": "string",  "firstName": "string",  "lastName": "string",  "phone": "string",  "addresses": [    {      "id": "string",      "firstName": "string",      "lastName": "string",      "phone": "string",      "street": "string",      "street2": "string",      "city": "string",      "state": "string",      "country": "string",      "postalCode": "string",      "isDefault": true    }  ],  "defaultAddressId": "string",  "createdAt": "string",  "updatedAt": "string",  "orderCount": -9007199254740991,  "spent": 0}