Skip to main content
PUT
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.

Path Parameters

id
string
required

The product id (e.g. prod-espresso).

Minimum string length: 1

Body

application/json
id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
brandId
string
required
Minimum string length: 1
category
string
required
Minimum string length: 1
skus
object[]
required
Minimum array length: 1
expectedVersion
integer
required
Required range: 0 <= x <= 9007199254740991
serialTracked
boolean
default:false
warrantyMonths
integer
default:0
Required range: 0 <= x <= 9007199254740991
ageRestricted
boolean
default:false
rentable
boolean
default:false
serviceable
boolean
default:false
hsCode
string
taxonomy
object
imageUrl
string
active
boolean
default:true

Response

The updated product: its id, the bumped version, and the projected view.

The updated product: its id, the bumped version, and the projected view.

id
string
required
version
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
view
object
required