Catalog Product — Copy
Equivalent to POST /api/admin/catalog/products/{sourceId}/copy.
Prerequisites
The example uses an illustrative id value. Replace it with the id of a product that exists in your store — use the adminCatalogProducts query to discover valid ids.
Operation
| Operation | Type |
|---|---|
createAdminCatalogProductCopy | Mutation |
Input
| Field | Type | Required | Notes |
|---|---|---|---|
sourceId | Int! | yes | ID of the product to duplicate. |
Notes
- Refuses variants (parent_id != null) — surfaces in
errors[]. - Fires
catalog.product.create.before/.afteron the copy.

