Move content to the site's trash
content_trashMove a post, page or other item of a WordPress site to its trash (WordPress keeps it 30 days; content_undo brings it back), or remove a URL redirect of a Shopify store (content_undo makes it again). In drafts-only mode this works for drafts; removing something live needs the publish-too mode. Nothing else is deleted through a connection: Shopify has no trash, so take a product or page off the store by setting its status to draft or archived.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| site | No | The connected site, by its name or address (see connected_sites). Optional when one site is connected. | |
| type | No | Default post. |