Archive or unarchive variant
variant_actionArchive a variant to hide it from the storefront (soft delete, restorable) or unarchive to set it to hidden status for subsequent publishing.
Instructions
Archive a variant (soft delete: status becomes ARCHIVED, item is hidden from the storefront but restorable) or unarchive it (status becomes HIDDEN; publish it afterwards via update_variant).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variant ID (UUID). | |
| action | Yes | Action to perform. |