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
- namestringrequiredAt most 200 characters.
- contactslist of objectDefault: [].
- namestringrequired
- emailstring (email)
- phonestring
- rolestring
- termsobjectDefault: {}.
- paymentDaysintegerDefault: 30. At least 0. At most 365.
- minOrderobject
- amountMinorintegerrequiredAt least 0.
- currencystringrequiredAt most 3 characters.
- amountMinorintegerrequired
- incotermsstring
- notesstringAt most 2000 characters.
- paymentDaysinteger
- leadTimeDaysintegerDefault: 7. At least 0. At most 365.
- currencystringDefault: EUR. At most 3 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