AdminUpdateProduct

Properties#

titlestringOptional
The product's title.
subtitlenull | stringOptional
The product's subtitle.
descriptionnull | stringOptional
The product's description.
is_giftcardbooleanOptional
Whether the product is a gift card.
discountablebooleanOptional
Whether discounts can be applied on the product.
imagesobject[]Optional
The product's images.
thumbnailnull | stringOptional
The product's thumbnail URL.
handlestringOptional
The product's handle.
statusProductStatusOptional
The product's status.
type_idnull | stringOptional
The ID of the associated product type.
external_idnull | stringOptional
The ID of the product in an external or third-party system.
collection_idnull | stringOptional
The ID of the associated product collection.
categoriesobject[]Optional
The product's categories.
tagsobject[]Optional
The product's tags.
optionsAdminUpdateProductOption[]Optional
The product's options.
The product's variants.
sales_channelsobject[]Optional
The sales channels that the product is available in.
weightnull | numberOptional
The product's weight.
lengthnull | numberOptional
The product's length.
heightnull | numberOptional
The product's height.
widthnull | numberOptional
The product's width.
hs_codenull | stringOptional
The product's HS code.
mid_codenull | stringOptional
The product's MID code.
origin_countrynull | stringOptional
The product's origin country.
materialnull | stringOptional
The product's material.
metadatanull | Record<string, unknown>Optional
Key-value pairs of custom data.
Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break