products
Duplicate a product
products
Duplicate a product
Duplicate an existing product by its ID.
POST
/
v0
/
products
/
{productId}
/
duplicate
curl --request POST \
--url https://api.fungies.io/v0/products/{productId}/duplicate \
--header 'Content-Type: application/json' \
--header 'x-fngs-public-key: <api-key>' \
--header 'x-fngs-secret-key: <api-key>' \
--data '{}'
{
"status": "<string>",
"data": {
"product": {
"object": "product",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "DigitalDownload",
"internalId": null,
"name": "",
"description": "",
"developer": null,
"publisher": null,
"pegiRating": null,
"releaseDate": null,
"systems": null,
"genres": null,
"status": "DRAFT",
"customFields": null
}
}
}
Path Parameters
POST /v0/products/:productId/duplicate Parameter
Body
application/json · object
POST /v0/products/:productId/duplicate Request body
The body is of type object
.
Response
200
application/json
POST /v0/products/:productId/duplicate Positive response
Allowed value:
"success"
Available options:
DigitalDownload
, Game
, GiftCard
, SoftwareKey
, VirtualCurrency
, VirtualItem
, Subscription
, OneTimePayment
Available options:
DRAFT
, ACTIVE
, HIDDEN
Available options:
product
Available options:
3
, 7
, 12
, 16
, 18
, !
Required range:
0 <= x <= 9007199254740991
Available options:
Windows
, MacOs
, Linux
, PlayStation 4
, PlayStation 5
, Xbox One
, Xbox Series X|S
, iOS
, Android
, Nintendo Switch
, Nintendo 3DS
Available options:
Action
, Action RPG
, Adventure
, Arcade
, Arcade Racing
, Battle Royale
, Beat 'em up
, Board Game
, Card Game
, Casual
, Co-op
, Educational
, Fighting
, FPS
, Horror
, Indie
, Interactive Story
, Japanese RPG
, Logic Game
, MMO
, Management
, Metroidvania
, Mini-games
, Multiplayer
, Open World
, Party
, Platformer
, Puzzle
, RPG
, Racing
, Real-Time Strategy
, Roguelike
, Rhythm
, Sandbox
, Shooter
, Simulation
, Simulation Racing
, Sports
, Strategy
, Survival
, Tactical RPG
, TPS
, Turn-Based Strategy
, Visual Novel
, Point & Click
, Interactive Fiction
, Hidden Object
curl --request POST \
--url https://api.fungies.io/v0/products/{productId}/duplicate \
--header 'Content-Type: application/json' \
--header 'x-fngs-public-key: <api-key>' \
--header 'x-fngs-secret-key: <api-key>' \
--data '{}'
{
"status": "<string>",
"data": {
"product": {
"object": "product",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "DigitalDownload",
"internalId": null,
"name": "",
"description": "",
"developer": null,
"publisher": null,
"pegiRating": null,
"releaseDate": null,
"systems": null,
"genres": null,
"status": "DRAFT",
"customFields": null
}
}
}