Duplicate a product
Create a copy of an existing product with all its variants. The duplicated product will have a new ID and slug. Offers are not duplicated.
Authorization
Public key Secret key In: header
In: header
Path Parameters
POST /v0/products/:productId/duplicate Parameter
uuidRequest Body
application/json
POST /v0/products/:productId/duplicate Request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v0/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/duplicate" \ -H "Content-Type: application/json" \ -d '{}'{ "status": "success", "data": { "product": { "object": "product", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "DigitalDownload", "internalId": null, "name": "", "description": "", "developer": null, "publisher": null, "pegiRating": "3", "releaseDate": null, "systems": null, "genres": null, "status": "DRAFT", "customFields": null } }}Update a product PATCH
Update an existing product's details. Can modify name, description, media, and other properties. Note: The product slug cannot be changed after creation to prevent broken URLs.
Add a variant to a product POST
Add a new variant (configuration option) to an existing product. Variants allow the same product to have different configurations, such as different durations, tiers, or sizes. Each variant can have its own offers.