Skip to content

Duplicate product

POST/admin/v1/stores/{store_id}/products/{product_id}/duplicate
  • products:write
  • Idempotency-Key supported

Copy a product: a draft on no channel, with the same options, variants, prices, weights, customs data, questions, tags, SEO and manual collections; SKUs and barcodes blank, no stock.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • product_idstringrequired

    The product to copy

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • titlestring · or null

    The copy's title; "Copy of …" in the store's language without one.

  • include_mediaboolean

    The same photos, variants keeping theirs.

Returns

201 The copy.

Errors

  • 403forbiddenMissing permission.
  • 404not_foundNo such product.