Flipdish · Schema

UserInfo

User information

RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

Properties

Name Type Description
PhoneNumber string The user's phone number.
Email string The user's email address.
EmailConfirmed boolean Indicates if the user's email address has been confirmed.
PreventFromUsingCards boolean Indicates if the user is prevented from using cards.
IsUserPhoneNumberBlocked boolean Indicates if the user's phone number is blocked.
UserWhiteLabels array List of white label information associated with the user.
UserId integer The unique identifier for the user.
UserName string The user's username.
CustomerName string The customer's name.
HasLoggedIn boolean Indicates if the user has logged in.
DisableAppRatingControl boolean Indicates if the app rating control is disabled for the user.
GloballyOptedOut boolean Indicates if the user has globally opted out.
CompletedOrderCount integer The number of completed orders by the user.
CancelledOrderCount integer The number of cancelled orders by the user.
OrderTotalValue number The total value of orders placed by the user.
TsMostRecentOrder string The timestamp of the user's most recent order.
TsFirstOrder string The timestamp of the user's first order.
IsRestaurantUser boolean Indicates if the user is a restaurant user.
Installs array List of app installs associated with the user.
DeliveryLocations array List of delivery locations associated with the user.
PaymentAccounts array List of payment accounts associated with the user.
LanguageId string The language identifier for the user.
CurrentLanguageName string Current language name for the user.
Languages array Available languages that the user can choose from.
SalesForceContactId string The Salesforce contact ID for the user.
StripeCustomerId string The Stripe customer ID for the user.
UserMonthlyCommissions array User's monthly commissions.
View JSON Schema on GitHub

JSON Schema

customers-user-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/customers-user-info-schema.json",
  "title": "UserInfo",
  "description": "User information",
  "type": "object",
  "properties": {
    "PhoneNumber": {
      "description": "The user's phone number.",
      "type": "string",
      "example": "+353000000000"
    },
    "Email": {
      "description": "The user's email address.",
      "type": "string",
      "example": "[email protected]"
    },
    "EmailConfirmed": {
      "description": "Indicates if the user's email address has been confirmed.",
      "type": "boolean",
      "example": true
    },
    "PreventFromUsingCards": {
      "description": "Indicates if the user is prevented from using cards.",
      "type": "boolean",
      "example": true
    },
    "IsUserPhoneNumberBlocked": {
      "description": "Indicates if the user's phone number is blocked.",
      "type": "boolean",
      "example": true
    },
    "UserWhiteLabels": {
      "description": "List of white label information associated with the user.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/UserWhiteLabelInfo"
      },
      "example": []
    },
    "UserId": {
      "format": "int32",
      "description": "The unique identifier for the user.",
      "type": "integer",
      "example": 500123
    },
    "UserName": {
      "description": "The user's username.",
      "type": "string",
      "example": "Example Name"
    },
    "CustomerName": {
      "description": "The customer's name.",
      "type": "string",
      "example": "Example Name"
    },
    "HasLoggedIn": {
      "description": "Indicates if the user has logged in.",
      "type": "boolean",
      "example": true
    },
    "DisableAppRatingControl": {
      "description": "Indicates if the app rating control is disabled for the user.",
      "type": "boolean",
      "example": true
    },
    "GloballyOptedOut": {
      "description": "Indicates if the user has globally opted out.",
      "type": "boolean",
      "example": true
    },
    "CompletedOrderCount": {
      "format": "int32",
      "description": "The number of completed orders by the user.",
      "type": "integer",
      "example": 3
    },
    "CancelledOrderCount": {
      "format": "int32",
      "description": "The number of cancelled orders by the user.",
      "type": "integer",
      "example": 3
    },
    "OrderTotalValue": {
      "format": "double",
      "description": "The total value of orders placed by the user.",
      "type": "number",
      "example": 12.5
    },
    "TsMostRecentOrder": {
      "format": "date-time",
      "description": "The timestamp of the user's most recent order.",
      "type": "string",
      "nullable": true,
      "example": "2026-06-02T12:00:00Z"
    },
    "TsFirstOrder": {
      "format": "date-time",
      "description": "The timestamp of the user's first order.",
      "type": "string",
      "nullable": true,
      "example": "2026-06-02T12:00:00Z"
    },
    "IsRestaurantUser": {
      "description": "Indicates if the user is a restaurant user.",
      "type": "boolean",
      "example": true
    },
    "Installs": {
      "description": "List of app installs associated with the user.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AppInstall"
      },
      "example": []
    },
    "DeliveryLocations": {
      "description": "List of delivery locations associated with the user.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DeliveryLocation"
      },
      "example": []
    },
    "PaymentAccounts": {
      "description": "List of payment accounts associated with the user.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PaymentAccount"
      },
      "example": []
    },
    "LanguageId": {
      "description": "The language identifier for the user.",
      "type": "string",
      "example": "500123"
    },
    "CurrentLanguageName": {
      "description": "Current language name for the user.",
      "type": "string",
      "example": "Example Name"
    },
    "Languages": {
      "description": "Available languages that the user can choose from.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Language"
      },
      "example": []
    },
    "SalesForceContactId": {
      "description": "The Salesforce contact ID for the user.",
      "type": "string",
      "example": "500123"
    },
    "StripeCustomerId": {
      "description": "The Stripe customer ID for the user.",
      "type": "string",
      "example": "500123"
    },
    "UserMonthlyCommissions": {
      "description": "User's monthly commissions.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/UserMonthlyCommission"
      },
      "example": []
    }
  }
}