v1

latestOpenAPI 3.0.42026-07-2685196386.6 KB
Product

Duplicate product

Creates a copy of an existing product. Requires the stores.products.create permission.

post/stores/{storeId}/products/{productId}/duplicate

Path parameters

storeIdstring uuid required

The ID of the store.

productIdstring uuid required

The ID of the product to duplicate.

Request body

namestring required

The name of the product, this is displayed publicly on the store page and marketplace. Must be unique to avoid confusion about which product is new and old

Response

The operation was successfully completed.

successboolean required

Indicates whether the operation or response was successful.

messagestring nullable

A descriptive message providing additional context or information about the response.

codestring nullable

The error code (if there was an error) to use when referencing the error