Update
AI-generatedSummary
Updates a product in Chatsuru via PUT request to /products/{productId}/.
Inputs
- main (required) — Main item input (not directly used for data, operation driven by parameters)
Output shape
main
Returns the API response payload for the updated product.
Examples
Example 1: Update a product with new name, code, category, and store-specific pricing/stock.
Set productId, name, code, category, and optionally add storeDetails items with store, price, stock, is_active.