Rivier/ Reference/ shop

Add a supplier

post/shop/suppliers

Before you call

Credential
Authorization: Bearer $KEY
Scope
shop:write
Mcp
rivier_shop_supplier_create
Sdk
shop.supplier.create
Cli
shop supplier create

Request bodyapplication/json, required

  • namestringrequired
    At most 200 characters.
  • contactslist of object
    Default: [].
    • namestringrequired
    • emailstring (email)
    • phonestring
    • rolestring
  • termsobject
    Default: {}.
    • paymentDaysinteger
      Default: 30. At least 0. At most 365.
    • minOrderobject
      • amountMinorintegerrequired
        At least 0.
      • currencystringrequired
        At most 3 characters.
    • incotermsstring
    • notesstring
      At most 2000 characters.
  • leadTimeDaysinteger
    Default: 7. At least 0. At most 365.
  • currencystring
    Default: EUR. At most 3 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