Quandoo · JSON Structure

Quandoo Public Partner Api Customer Response Structure

CustomerResponse schema from Quandoo Public Partner API

Type: object Properties: 10 Required: 10
RestaurantReservationsBookingAvailabilityMerchantsMarketplace

CustomerResponse is a JSON Structure definition published by Quandoo, describing 10 properties, of which 10 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id firstName lastName gender email phoneNumber mobileNumber country links subscriptions

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/quandoo/refs/heads/main/json-structure/quandoo-public-partner-api-customer-response-structure.json",
  "name": "CustomerResponse",
  "description": "CustomerResponse schema from Quandoo Public Partner API",
  "type": "object",
  "required": [
    "country",
    "email",
    "firstName",
    "gender",
    "id",
    "lastName",
    "links",
    "mobileNumber",
    "phoneNumber",
    "subscriptions"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The id of the customer."
    },
    "firstName": {
      "type": "string",
      "description": "First name of the customer."
    },
    "lastName": {
      "type": "string",
      "description": "Last name of the customer."
    },
    "gender": {
      "type": "string",
      "description": "Gender of the customer.",
      "enum": [
        "male",
        "female",
        "other",
        "undefined"
      ]
    },
    "email": {
      "type": "string",
      "description": "Email of the customer."
    },
    "phoneNumber": {
      "type": "string",
      "description": "Fixed line phone number of the customer."
    },
    "mobileNumber": {
      "type": "string",
      "description": "Mobile phone number of the customer."
    },
    "country": {
      "type": "string",
      "description": "2-letter ISO country code of the customer, e.g. DE."
    },
    "links": {
      "type": "array",
      "description": "The links related to this entity.",
      "items": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string",
            "format": "url"
          },
          "method": {
            "type": "string"
          },
          "rel": {
            "type": "string",
            "enum": [
              "DETAILS",
              "WIDGET",
              "WIDGET_DETAILS",
              "GET_MERCHANT",
              "PARENT",
              "SELF",
              "SETTINGS",
              "AVAILABILITY_DAYS",
              "AVAILABILITIES",
              "CREATE_RESERVATION",
              "GET_RESERVATION",
              "UPDATE_RESERVATION",
              "GET_CUSTOMER_RESERVATION",
              "GET_REVIEW",
              "PORTAL_PREORDER_FORM",
              "RESERVATION_CHECKOUT_PAGE",
              "CREDIT_CARD_DETAILS_PAGE",
              "CUSTOMER_EDIT_RESERVATION"
            ]
          }
        }
      }
    },
    "subscriptions": {
      "type": "array",
      "description": "The newsletter subscriptions, e.g. QUANDOO, MERCHANT.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "enum": [
              "QUANDOO",
              "MERCHANT"
            ]
          }
        }
      }
    }
  }
}