Products

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
x-fngs-public-key<token>

In: header

x-fngs-secret-key<token>

In: header

Path Parameters

productId*string

POST /v0/products/:productId/duplicate Parameter

Formatuuid

Request 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

POST
/v0/products/{productId}/duplicate
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    }  }}