publish-product
Publishes a Shopify product to one or more sales channels using publication IDs or exact names, then returns each channel's product state and any errors.
Instructions
Publish a product to one or more sales channels, by publicationIds or exact publicationNames (see get-publications). Returns the product's state on every channel afterwards, plus userErrors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Shopify product GID (e.g. gid://shopify/Product/123) | |
| publicationIds | No | Publication GIDs (from get-publications). Provide this OR publicationNames. | |
| publicationNames | No | Sales channel names exactly as returned by get-publications, e.g. ["Online Store", "Point of Sale"]. Provide this OR publicationIds. |