Divvy · Schema
CustomerUpdateRequestDto
Update a customer
CompanyPaymentsSpend ManagementCorporate CardsExpense ManagementFintechBills
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Customer name |
| companyName | string | Customer company name |
| contact | object | |
| string | Customer email address | |
| phone | string | Customer phone number |
| fax | string | Customer fax number |
| description | string | Customer description |
| invoiceCurrency | object | |
| accountType | object | |
| paymentTermId | string | BILL-generated ID of the payment term. Use payment terms to set the number of days the customer has to clear an invoice. |
| accountNumber | string | Customer account number. The number appears in customer invoices. |
| billingAddress | object | |
| shippingAddress | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/divvy/json-schema/divvy-customer-update-request-dto-schema.json",
"title": "CustomerUpdateRequestDto",
"description": "Update a customer",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/divvy-customers-api-openapi.yml#/components/schemas/CustomerUpdateRequestDto",
"type": "object",
"properties": {
"name": {
"maxLength": 100,
"type": "string",
"description": "Customer name"
},
"companyName": {
"maxLength": 250,
"type": "string",
"description": "Customer company name"
},
"contact": {
"allOf": [
{
"$ref": "#/$defs/CustomerContact"
},
{
"description": "Customer contact information"
}
]
},
"email": {
"type": "string",
"description": "Customer email address"
},
"phone": {
"pattern": "^.{0,20}$",
"type": "string",
"description": "Customer phone number"
},
"fax": {
"pattern": "^.{0,20}$",
"type": "string",
"description": "Customer fax number"
},
"description": {
"maxLength": 4000,
"type": "string",
"description": "Customer description"
},
"invoiceCurrency": {
"allOf": [
{
"$ref": "#/$defs/CurrencyCode"
},
{
"description": "Invoice currency. Three-letter abbreviation."
}
]
},
"accountType": {
"allOf": [
{
"$ref": "#/$defs/CustomerAccountTypeRequest"
},
{
"description": "Customer account type"
}
]
},
"paymentTermId": {
"type": "string",
"description": "BILL-generated ID of the payment term. Use payment terms to set the number of days the customer has to clear an invoice."
},
"accountNumber": {
"maxLength": 100,
"type": "string",
"description": "Customer account number. The number appears in customer invoices."
},
"billingAddress": {
"allOf": [
{
"$ref": "#/$defs/AddressUpdate"
},
{
"description": "Customer billing address"
}
]
},
"shippingAddress": {
"allOf": [
{
"$ref": "#/$defs/AddressUpdate"
},
{
"description": "Customer shipping address"
}
]
}
},
"$defs": {
"AddressUpdate": {
"type": "object",
"properties": {
"line1": {
"pattern": "^.{0,1000}$",
"type": "string",
"description": "Address line 1"
},
"line2": {
"pattern": "^.{0,100}$",
"type": "string",
"description": "Address line 2"
},
"city": {
"pattern": "^.{0,100}$",
"type": "string",
"description": "Address city"
},
"stateOrProvince": {
"pattern": "^.{0,100}$",
"type": "string",
"description": "State or province"
},
"zipOrPostalCode": {
"pattern": "^.{0,30}$",
"type": "string",
"description": "Zip or postal code"
},
"country": {
"allOf": [
{
"$ref": "#/$defs/CountryCode"
},
{
"description": "Country code (ISO2)"
}
]
}
},
"description": "The type Address Update dto."
},
"CountryCode": {
"type": "string",
"description": "Enumeration based on the ISO2 country code specification.",
"enum": [
"AD",
"AE",
"AF",
"AG",
"AI",
"AL",
"AM",
"AO",
"AQ",
"AR",
"AS",
"AT",
"AU",
"AW",
"AZ",
"BA",
"BB",
"BD",
"BE",
"BF",
"BG",
"BH",
"BI",
"BJ",
"BM",
"BN",
"BO",
"BR",
"BS",
"BT",
"BW",
"BY",
"BZ",
"CA",
"CC",
"CD",
"CF",
"CG",
"CH",
"CI",
"CK",
"CL",
"CM",
"CN",
"CO",
"CR",
"CV",
"CX",
"CY",
"CZ",
"DE",
"DJ",
"DK",
"DM",
"DO",
"DZ",
"EC",
"EE",
"EG",
"EH",
"ER",
"ES",
"ET",
"FI",
"FJ",
"FK",
"FM",
"FO",
"FR",
"GA",
"GB",
"GD",
"GE",
"GF",
"GH",
"GI",
"GL",
"GM",
"GN",
"GP",
"GQ",
"GR",
"GS",
"GT",
"GW",
"GY",
"HK",
"HM",
"HN",
"HR",
"HT",
"HU",
"ID",
"IE",
"IL",
"IN",
"IO",
"IQ",
"IS",
"IT",
"JM",
"JO",
"JP",
"KE",
"KG",
"KH",
"KI",
"KM",
"KN",
"KR",
"KW",
"KY",
"KZ",
"LA",
"LB",
"LC",
"LI",
"LK",
"LR",
"LS",
"LT",
"LU",
"LV",
"LY",
"MA",
"MC",
"MD",
"ME",
"MG",
"MH",
"MK",
"ML",
"MN",
"MO",
"MP",
"MQ",
"MR",
"MS",
"MT",
"MU",
"MV",
"MW",
"MX",
"MY",
"MZ",
"NA",
"NC",
"NE",
"NF",
"NG",
"NI",
"NL",
"NO",
"NP",
"NR",
"NU",
"NZ",
"OM",
"PA",
"PE",
"PF",
"PG",
"PH",
"PK",
"PL",
"PM",
"PN",
"PS",
"PT",
"PW",
"PY",
"QA",
"RE",
"RO",
"RS",
"RU",
"RW",
"SA",
"SB",
"SC",
"SE",
"SG",
"SH",
"SI",
"SJ",
"SK",
"SL",
"SM",
"SN",
"SO",
"SR",
"ST",
"SV",
"SZ",
"TC",
"TD",
"TF",
"TG",
"TH",
"TJ",
"TK",
"TL",
"TM",
"TN",
"TO",
"TR",
"TT",
"TV",
"TW",
"TZ",
"UA",
"UG",
"UM",
"US",
"UY",
"UZ",
"VA",
"VC",
"VE",
"VG",
"VN",
"VU",
"WF",
"WS",
"YE",
"YT",
"ZA",
"ZM",
"ZW"
]
},
"CurrencyCode": {
"type": "string",
"description": "Enumeration based on the ISO2 country code specification.",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTN",
"BWP",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLE",
"SLL",
"SOS",
"SPL",
"SRD",
"STN",
"SVC",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TVD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XDR",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW",
"ZWD"
]
},
"CustomerAccountTypeRequest": {
"type": "string",
"description": "CustomerAccountType.",
"enum": [
"NONE",
"BUSINESS",
"PERSON"
]
},
"CustomerContact": {
"type": "object",
"properties": {
"firstName": {
"maxLength": 100,
"type": "string",
"description": "First name"
},
"lastName": {
"maxLength": 100,
"type": "string",
"description": "Last name"
}
},
"description": "Customer contact."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/divvy-customer-update-request-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.