manage-product-options
Create, update, or delete Shopify product options such as Size and Color, including renaming options and adding or removing values.
Instructions
Create, update, or delete product options (e.g. Size, Color). Use action='create' to add options, 'update' to rename or add/remove values, 'delete' to remove options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the option (action=update) | |
| action | Yes | ||
| options | No | Options to create (action=create) | |
| optionId | No | Option GID to update (action=update) | |
| position | No | New position (action=update) | |
| optionIds | No | Option GIDs to delete (action=delete) | |
| productId | Yes | Shopify product GID | |
| valuesToAdd | No | Values to add (action=update) | |
| valuesToDelete | No | Value GIDs to delete (action=update) | |
| variantStrategy | No | Strategy for variant creation when adding options. LEAVE_AS_IS (default) keeps existing variants, CREATE generates new variant combinations. |