Error
A valid request URL is required to generate request examples{
"id": "kit-decouverte",
"name": "Coffret Révisé",
"components": [
{
"skuId": "9e84c6158ec8f6e88e9496bb1c1a115e6c35470f3d5f4f7049b076d926b46b3a",
"quantity": 2
},
{
"skuId": "29438a10df101752d9face3d3846c225846588e57c73472f51b5f8735e5f4541",
"quantity": 1
}
],
"active": true,
"version": 2
}{
"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
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}Catalog
Update a kit (coffret / nomenclature)
Replaces a kit’s name / components / optional price. The PATH id addresses the kit; the body carries the new definition plus the expectedVersion you last read. Component SKUs must stay DISTINCT. 404s for an unknown kit; 409s on a stale expectedVersion.
PUT
/
v1
/
kits
/
{id}
Error
A valid request URL is required to generate request examples{
"id": "kit-decouverte",
"name": "Coffret Révisé",
"components": [
{
"skuId": "9e84c6158ec8f6e88e9496bb1c1a115e6c35470f3d5f4f7049b076d926b46b3a",
"quantity": 2
},
{
"skuId": "29438a10df101752d9face3d3846c225846588e57c73472f51b5f8735e5f4541",
"quantity": 1
}
],
"active": true,
"version": 2
}{
"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
}
}{
"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 kit (coffret) id (e.g. kit-decouverte).
Minimum string length:
1Body
application/json
Response
The updated kit at its bumped version.
The updated kit at its bumped version.
Minimum string length:
1Minimum string length:
1Minimum array length:
1Show child attributes
Show child attributes
Required range:
0 < x <= 9007199254740991Required range:
0 <= x <= 9007199254740991
