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
Unique identifier (UUID) of the product.
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/550e8400-e29b-41d4-a716-446655440000/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. Send only the fields you want to change: a field you leave out keeps its current value. To remove a cover, cover video, trailer or redeem message, send an empty string; to remove the gallery, send an empty array. A new cover sent without `coverBlurHash` drops the previous cover's blur hash. `type` is optional and the type cannot be changed: a `type` that differs from the product's answers 409. `requirements`, `developer`, `publisher`, `pegiRating` and `releaseDate` are accepted only on Game products; on any other type they answer 400. 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.