Archive or unarchive variant
variant_actionArchive a variant to soft-delete and hide it from the storefront, or unarchive to restore it for publishing via update_variant.
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. |