POST /external/api/customers/details

POST /external/api/customers/details
application/json

Body

  • accountIds array[string(uuid)] | null

Responses

  • 200 application/vnd.fygi.v1.id+json

    Success

    Hide response attributes Show response attributes object
    • id string(uuid)
    • email string | null
    • phoneNumber string | null
    • firstName string | null
    • lastName string | null
    • birthDate string(date-time) | null
    • nationalIdNumber string | null
    • addressType string | null
    • streetAddress string | null
    • postalCode string | null
    • city string | null
    • countryCode string | null
    • digitalConsent boolean
    • emailConsent boolean
    • personalConsent boolean
    • smsConsent boolean
    • timeOfConsent string(date-time) | null
    • loyaltyProvider string | null
    • loyaltyCustomerId string | null
  • 404 application/vnd.fygi.v1.id+json

    Not Found

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
POST /external/api/customers/details
curl \
 --request POST 'https://demo.api.fygi.store/external/api/customers/details' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"accountIds":["string"]}'
Request examples
{
  "accountIds": [
    "string"
  ]
}
Response examples (200)
[
  {
    "id": "string",
    "email": "string",
    "phoneNumber": "string",
    "firstName": "string",
    "lastName": "string",
    "birthDate": "2025-05-04T09:42:00Z",
    "nationalIdNumber": "string",
    "addressType": "string",
    "streetAddress": "string",
    "postalCode": "string",
    "city": "string",
    "countryCode": "string",
    "digitalConsent": true,
    "emailConsent": true,
    "personalConsent": true,
    "smsConsent": true,
    "timeOfConsent": "2025-05-04T09:42:00Z",
    "loyaltyProvider": "string",
    "loyaltyCustomerId": "string"
  }
]
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}