Create or update item
loyverse_upsert_itemCreate a new Loyverse catalogue item or update an existing one by passing its ID. Set stock levels separately with the inventory tool.
Instructions
Create a catalogue item, or update one by passing its id. Loyverse uses POST for both. Stock cannot be set here; create the item first, then call loyverse_set_inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Omit to create. Provide to update that item. | |
| form | No | ||
| color | No | ||
| tax_ids | No | ||
| variants | No | An item needs at least one variant to be sellable. | |
| image_url | No | ||
| item_name | Yes | Display name of the item. | |
| components | No | Only for composite items. | |
| category_id | No | ||
| description | No | ||
| track_stock | No | Whether Loyverse tracks stock for this item. | |
| is_composite | No | ||
| option1_name | No | ||
| option2_name | No | ||
| option3_name | No | ||
| modifiers_ids | No | ||
| sold_by_weight | No | ||
| use_production | No | ||
| primary_supplier_id | No |