Deliverect · Schema

PatchCrmAccountidCustomersCrmprofileid

Deliverect Update Customer Profile

RestaurantDeliveryOnline OrderingPoint of SaleOrder ManagementIntegration

Properties

Name Type Description
contact object
externalId string
loyaltyProviderId string
deliveryAddresses array
billingAddress object
metadata object
vehicles array
View JSON Schema on GitHub

JSON Schema

crm-api-patch-crm-accountid-customers-crmprofileid-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/deliverect/refs/heads/main/json-schema/crm-api-patch-crm-accountid-customers-crmprofileid-schema.json",
  "title": "PatchCrmAccountidCustomersCrmprofileid",
  "description": "Deliverect Update Customer Profile",
  "type": "object",
  "properties": {
    "contact": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "example": "[email protected]"
        },
        "firstName": {
          "type": "string",
          "example": "Deliverect's Pizza Place"
        },
        "lastName": {
          "type": "string",
          "example": "Deliverect's Pizza Place"
        },
        "birthdate": {
          "type": "string",
          "example": "2026-03-15T14:30:00Z"
        },
        "phone": {
          "type": "string",
          "example": "+15555550123"
        }
      }
    },
    "externalId": {
      "type": "string",
      "example": "609a1b2c3d4e5f6a7b8c9d0e"
    },
    "loyaltyProviderId": {
      "type": "string",
      "example": "609a1b2c3d4e5f6a7b8c9d0e"
    },
    "deliveryAddresses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "street": {
            "type": "string",
            "example": "string"
          },
          "subpremise": {
            "type": "string",
            "example": "string"
          },
          "city": {
            "type": "string",
            "example": "string"
          },
          "stateOrProvince": {
            "type": "string",
            "example": "string"
          },
          "postalCode": {
            "type": "string",
            "example": "string"
          },
          "country": {
            "type": "string",
            "example": "BE"
          },
          "default": {
            "type": "boolean",
            "example": true
          },
          "area": {
            "type": "string",
            "example": "string"
          },
          "coordinates": {
            "type": "string",
            "example": "string"
          }
        }
      }
    },
    "billingAddress": {
      "type": "object",
      "properties": {
        "street": {
          "type": "string",
          "example": "string"
        },
        "subpremise": {
          "type": "string",
          "example": "string"
        },
        "city": {
          "type": "string",
          "example": "string"
        },
        "stateOrProvince": {
          "type": "string",
          "example": "string"
        },
        "postalCode": {
          "type": "string",
          "example": "string"
        },
        "country": {
          "type": "string",
          "example": "BE"
        },
        "area": {
          "type": "string",
          "example": "string"
        },
        "coordinates": {
          "type": "string",
          "example": "string"
        }
      }
    },
    "metadata": {
      "type": "object",
      "properties": {}
    },
    "vehicles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "make": {
            "type": "string",
            "example": "string"
          },
          "model": {
            "type": "string",
            "example": "string"
          },
          "color": {
            "type": "string",
            "example": "string"
          },
          "default": {
            "type": "boolean",
            "example": true
          }
        }
      }
    }
  }
}