Wow
Toggle table of contents
10.0.0-beta.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Wow
eshop-catalog-api
/
me.ahoo.wow.example.eshop.catalog.api.product
/
UpdateProduct
Update
Product
@
Summary
(
value
=
"Update a product"
)
data
class
UpdateProduct
(
val
name
:
String
,
val
description
:
String
=
""
,
val
brandId
:
String
?
=
null
,
val
categoryId
:
String
?
=
null
)
Replaces the product's name, description, brand and category.
Members
Constructors
Update
Product
Link copied to clipboard
constructor
(
name
:
String
,
description
:
String
=
""
,
brandId
:
String
?
=
null
,
categoryId
:
String
?
=
null
)
Properties
brand
Id
Link copied to clipboard
val
brandId
:
String
?
category
Id
Link copied to clipboard
val
categoryId
:
String
?
description
Link copied to clipboard
val
description
:
String
name
Link copied to clipboard
@
NotBlank
val
name
:
String