# Update customers Updates one or more existing customers (bulk supported) for the specified company. Only the fields specified in the request body will be updated Endpoint: PUT /customers Security: BearerAuth ## Request fields (application/json): - `companyId` (string, required) - `customers` (array, required) - `customers.customerId` (string, required) - `customers.customerType` (string) Enum: "regular", "fleet" - `customers.firstName` (string) - `customers.lastName` (string) - `customers.displayName` (string) - `customers.companyName` (string) - `customers.phones` (array) Example: [{"number":"123-456-7890","label":"Work","type":"mobile","primary":true,"active":true}] - `customers.phones.number` (string) Example: "123-456-7890" - `customers.phones.label` (string) Example: "Work" - `customers.phones.type` (string) Enum: "mobile", "landline" - `customers.phones.primary` (boolean) Example: true - `customers.phones.active` (boolean) Example: true - `customers.emails` (array) Example: [{"emailAddress":"john.doe@example.com","label":"Personal","primary":true,"active":true}] - `customers.emails.emailAddress` (string) Example: "john.doe@example.com" - `customers.communicationPreference` (string) Enum: "mobile", "email" - `customers.notes` (string) - `customers.mainAddress` (object) Example: {"address":"123 Main St","city":"New York","state":"NY","zip":"10001","country":"USA"} - `customers.mainAddress.address` (string) Example: "123 Main St" - `customers.mainAddress.zip` (string) Example: "10001" - `customers.mainAddress.city` (string) Example: "New York" - `customers.mainAddress.state` (string) Example: "NY" - `customers.mainAddress.country` (string) Example: "USA" - `customers.secondaryAddress` (object) Example: {"address":"123 Main St","city":"New York","state":"NY","zip":"10001","country":"USA"} - `customers.taxExempt` (boolean) - `customers.reasonForTaxExempt` (string) Enum: "Agricultural production", "Charitable organization", "Direct mail", "Direct pay permit", "Educational organization", "Federal government", "Foreign diplomat", "Hospital", "Industrial production / manufacturing", "Local government", "Multiple points of use", "Religious organization", "Resale" - `customers.tags` (array) Example: [{"name":"VIP","color":"FFFF00"}] - `customers.tags.name` (string) Example: "VIP" - `customers.tags.color` (string) Example: "FFFF00" - `customers.chargeAccount` (boolean) - `customers.chargeAccountDetails` (object) - `customers.chargeAccountDetails.allowedLimit` (number) - `customers.chargeAccountDetails.usedLimit` (number) - `customers.chargeAccountDetails.unlimited` (boolean) - `customers.preferredLocationID` (string) - `customers.languagePreference` (string) Enum: "EN", "FR" - `customers.okForMarketing` (boolean) ## Response 200 fields (application/json): - `success` (boolean) Example: true - `message` (string) Example: "Request completed successfully" - `data` (object) Example: {}