Raw schema
{
"type": "object",
"properties": {
"customer_number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Customer number to update."
},
"name": {
"description": "New customer name.",
"type": "string",
"minLength": 1,
"maxLength": 255
},
"company_name": {
"description": "Company name.",
"type": "string",
"maxLength": 255
},
"first_name": {
"description": "Contact first name.",
"type": "string",
"maxLength": 255
},
"last_name": {
"description": "Contact last name.",
"type": "string",
"maxLength": 255
},
"contact": {
"description": "Primary contact name.",
"type": "string",
"maxLength": 255
},
"email_address": {
"description": "Email address.",
"type": "string",
"maxLength": 255,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone_number": {
"description": "Phone number.",
"type": "string",
"maxLength": 64
},
"mobile": {
"description": "Mobile number.",
"type": "string",
"maxLength": 64
},
"alt_contact": {
"description": "Alternate contact name.",
"type": "string",
"maxLength": 255
},
"alt_phone_number": {
"description": "Alternate phone number.",
"type": "string",
"maxLength": 64
},
"fax": {
"description": "Fax number.",
"type": "string",
"maxLength": 64
},
"account_number": {
"description": "Your own account number for the customer.",
"type": "string",
"maxLength": 64
},
"service_address": {
"description": "Service address (where the work happens), line 1.",
"type": "string",
"maxLength": 255
},
"service_address_2": {
"description": "Service address line 2.",
"type": "string",
"maxLength": 255
},
"service_city": {
"description": "Service city.",
"type": "string",
"maxLength": 128
},
"service_state": {
"description": "Service state (2-letter abbreviation in the US).",
"type": "string",
"maxLength": 64
},
"service_zip_code": {
"description": "Service ZIP/postal code.",
"type": "string",
"maxLength": 32
},
"service_country": {
"description": "Service country (2-letter code).",
"type": "string",
"maxLength": 64
},
"billing_address": {
"description": "Billing address (where invoices go), line 1.",
"type": "string",
"maxLength": 255
},
"billing_address_2": {
"description": "Billing address line 2.",
"type": "string",
"maxLength": 255
},
"billing_city": {
"description": "Billing city.",
"type": "string",
"maxLength": 128
},
"billing_state": {
"description": "Billing state.",
"type": "string",
"maxLength": 64
},
"billing_zip_code": {
"description": "Billing ZIP/postal code.",
"type": "string",
"maxLength": 32
},
"billing_country": {
"description": "Billing country.",
"type": "string",
"maxLength": 64
},
"special_instructions": {
"description": "Special instructions shown to technicians.",
"type": "string",
"maxLength": 5000
},
"company": {
"description": "True if the customer is a company rather than a person.",
"type": "boolean"
},
"is_active": {
"description": "False to mark the customer inactive (reversible).",
"type": "boolean"
},
"notify_via_email": {
"description": "Send the customer email notifications.",
"type": "boolean"
},
"notify_via_sms": {
"description": "Send the customer SMS notifications.",
"type": "boolean"
},
"customer_type_id": {
"description": "Customer type id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"customer_source_id": {
"description": "Customer source (lead source) id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"customer_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}