Suppliers

Update a supplier

patch/accounting/suppliers/{supplierId}

Request

  • Base URL: https://api.clearbooks.co.uk/v1
  • URL: https://api.clearbooks.co.uk/v1/accounting/suppliers/{supplierId}
  • Auth: OAuth 2 (authorization code, authorization URL https://secure.clearbooks.co.uk/account/action/oauth/, token URL https://api.clearbooks.co.uk/oauth/token, scopes: accounting.suppliers:write)

Path parameters

supplierIdinteger required

ID of supplier

Headers

X-Business-IDinteger

ID of the business to use (required for multi-business authorisations only)

Response

Supplier updated

idinteger
namestring required
emailstring
phonestring
vatNumberstring
companyNumberstring
externalIdstring

Identifier for this contact in an external system. Clear Books does not make use of this value beyond storing it for integrated applications.

archivedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.