Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Body

application/json
id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
category
string
required
Minimum string length: 1
email
string
required
Minimum string length: 1
leadTimeDays
integer
required
Required range: 0 <= x <= 9007199254740991
active
boolean
default:true

Response

The created supplier.

The created supplier.

id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
category
string
required
Minimum string length: 1
email
string
required
Minimum string length: 1
leadTimeDays
integer
required
Required range: 0 <= x <= 9007199254740991
active
boolean
required