Error
A valid request URL is required to generate request examples{
"id": "adidas-fr",
"name": "Adidas France SA",
"category": "sportswear",
"email": "orders@nike.fr",
"leadTimeDays": 12,
"active": true
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}Procurement
Update a supplier (fournisseur)
Replaces a supplier’s editable fields. The path id is authoritative — any id in the body is overwritten, so you cannot retarget the update onto another supplier. This is also how you REACTIVATE an archived supplier: PUT with active: true (the mirror of the deactivate soft-archive). 404s for an unknown supplier.
PUT
/
v1
/
suppliers
/
{supplierId}
Error
A valid request URL is required to generate request examples{
"id": "adidas-fr",
"name": "Adidas France SA",
"category": "sportswear",
"email": "orders@nike.fr",
"leadTimeDays": 12,
"active": true
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}Authorizations
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.
Path Parameters
The supplier (fournisseur) id.
Minimum string length:
1Body
application/json
Response
The updated supplier.

