Skip to main content
PUT

Authorizations

Authorization
string
header
required

Paste the JWT access token returned by the corresponding login endpoint.

Path Parameters

id
string
required

Value for id.

Body

application/json

Sample request body. Illustrative product update body based on AddProductRequest / UpdateProductRequest core fields; route-specific validations may require additional fields. Treat this as an illustrative example, not a complete DTO contract.

productId
integer
productName
string
sku
string
categoryId
integer[]
image
string
price
string
quantity
integer
status
integer
productSlug
string

Response

Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.

status
integer
message
string
data
object