A single product is copied during the request, so you get the new product back in the answer. These copies are listed on the app’s History page and in GET /products, not in GET /copies.
POST /products/copy
Copies one product and answers when it is done, which can take up to 30 seconds.
| Field | Type | |
|---|---|---|
sourceUrl | string | Required. The product’s URL in the source store. |
destination | object | The collection to add the product to. See destination. |
sourcePassword | string | The storefront password, if the source store has one. Used once to log in, never stored. |
options | object | Settings for this copy only. See options. |
applyToEach | object | Category and handle text. See applyToEach. |
curl https://app.clonelyapp.com/api/v1/products/copy \
-H "Authorization: Bearer $CLONELY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sourceUrl": "https://supplier.example.com/products/trail-boot",
"destination": { "newCollectionTitle": "New arrivals" },
"options": { "publish": false }
}'
{
"product": {
"id": "gid://shopify/Product/10264694882584",
"handle": "trail-boot",
"title": "Trail Boot"
},
"sourceUrl": "https://supplier.example.com/products/trail-boot",
"outcome": "created",
"message": null,
"addedToCollection": true
}
| Field | |
|---|---|
product | The product in your store: id (Admin API GID), handle and title. |
sourceUrl | The URL it was copied from. |
outcome | created, updated, or partial when it was created or updated but part of it failed. |
message | For partial, what failed. If the product isn’t in the collection, why not. Otherwise null. |
addedToCollection | true if it was added to the destination collection, false if the product was copied but not added (see message), null when you sent no destination. |
When the product is already in your store
The onDuplicate and updateMatch options decide what happens. With update, the product is updated and outcome is updated. When it is skipped instead, the answer is an error, because nothing was copied:
409 product_exists: a product with the same handle or SKU is in your store and the options skip it. The message says which option would update it.409 not_copied: the matching product wasn’t copied by Clonely, andupdateMatchiscopied.
New collections
With newCollectionTitle, Clonely creates the collection only after the product is copied, so a failed copy leaves no empty collection behind. If Shopify refuses to create the collection, the product stays copied and addedToCollection is false.
Other errors
400 (invalid_request, invalid_source, password_required, password_wrong, variant_limit, copy_failed), 409 reconnect_required, 503 shopify_unavailable. See Errors.
GET /products
Lists the products copied one at a time, newest first. It is the app’s History page. Products from collection and store copies are in each copy’s results.
| Query parameter | |
|---|---|
query | Part of the title, handle or source URL. |
limit | 1 to 50. Default 25. |
cursor | nextCursor from the previous page. |
curl "https://app.clonelyapp.com/api/v1/products?query=boot" \
-H "Authorization: Bearer $CLONELY_API_KEY"
{
"data": [
{
"productId": "gid://shopify/Product/10264694882584",
"handle": "trail-boot",
"title": "Trail Boot",
"sourceUrl": "https://supplier.example.com/products/trail-boot",
"copiedAt": "2026-11-30T08:14:32.944Z"
}
],
"nextCursor": "eyJpZCI6MTcyNzd9"
}
Each copy or update is its own row, so the same productId can show up more than once.