Update product
update_productChange specific product fields in Medusa, such as title, status, handle, images, collection, categories, tags, sales channels, or metadata. Send only fields to modify; list fields replace prior lists.
Instructions
Updates product fields – texts, status, handle, images, collection, categories, tags, sales channels, metadata. Send only the fields that should change. Lists (category_ids, tags, images, sales_channel_ids) replace the previous list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag values; missing tags are created | |
| title | No | ||
| handle | No | ||
| images | No | Image URLs – replaces all images | |
| status | No | ||
| weight | No | ||
| metadata | No | Merged into existing metadata; an empty string deletes a key | |
| subtitle | No | ||
| thumbnail | No | ||
| product_id | Yes | ||
| description | No | ||
| category_ids | No | ||
| discountable | No | ||
| collection_id | No | null removes the product from its collection | |
| sales_channel_ids | No | ||
| shipping_profile_id | No |