Rivier/ Reference/ accounting

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

  • namestringrequired
    At most 200 characters.
  • emailstring (email)
    At most 254 characters.
  • taxIdstring
    Default: . At most 30 characters.
  • countrystring
    Default: . At most 2 characters.
  • paymentDaysinteger
    Default: 30. At least 0. At most 365.
  • bankDetailsstring
    Default: . At most 300 characters.
  • notesstring
    Default: . At most 1000 characters.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown