Change a supplier
patch/accounting/suppliers/{id}
Change a supplier; a linked supplier's change reaches Skerry, and is kept for retry when Skerry cannot be reached.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
accounting:write- Sdk
accounting.supplier.update- Cli
accounting supplier update
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- namestringAt most 200 characters.
- emailstring (email)At most 254 characters.
- taxIdstringDefault: . At most 30 characters.
- countrystringDefault: . At most 2 characters.
- paymentDaysintegerDefault: 30. At least 0. At most 365.
- bankDetailsstringDefault: . At most 300 characters.
- notesstringDefault: . At most 1000 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring