Add a supplier
post/accounting/suppliers
Before you call
- Credential
Authorization: Bearer $KEY- Scope
accounting:write- Sdk
accounting.supplier.create- Cli
accounting supplier create
Request bodyapplication/json, required
- namestringrequiredAt 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
- 201application/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