products
Create a new product
products
Create a new product
Create a new product with the specified details.
POST
/
v0
/
products
/
create
curl --request POST \
--url https://api.fungies.io/v0/products/create \
--header 'Content-Type: application/json' \
--header 'x-fngs-public-key: <api-key>' \
--header 'x-fngs-secret-key: <api-key>' \
--data '{
"name": "<string>",
"description": "",
"cover": "<string>",
"coverBlurHash": "<string>",
"coverVideo": "<string>",
"gallery": [
{
"value": "<string>",
"blurHash": "<string>"
}
],
"trailer": "<string>",
"featureCoverVideo": true,
"genres": [
"Action"
],
"features": [
{
"value": "<string>"
}
],
"status": "DRAFT",
"externalId": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"systems": [
"Windows"
],
"offers": [
{
"name": "<string>",
"description": "",
"cover": "<string>",
"coverBlurHash": "<string>",
"currency": "AFN",
"price": 8.988465674311579e+307,
"originalPrice": 8.988465674311579e+307,
"freeProduct": false,
"limit": 4503599627370495,
"region": "Global",
"platform": "Global",
"recurringInterval": "day",
"recurringIntervalCount": 4503599627370496,
"trialInterval": "day",
"trialIntervalCount": 4503599627370496,
"gtin": "<string>",
"externalId": "<string>",
"variantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"variantIdx": 0,
"fileName": "<string>",
"downloadFile": "<string>",
"downloadFileName": "<string>",
"downloadFileSize": 0,
"downloadDescription": "<string>",
"productKeys": [
"<string>"
],
"hasDiscount": true,
"warningMessage": "<string>",
"mutableQuantity": true,
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"downloadFileData": {
"chunks": [
{
"chunk": "<string>",
"metadata": {
"number": 0,
"start": 0,
"end": 0,
"size": 0
}
}
],
"totalChunks": 0,
"totalSize": 0
},
"downloadFileType": "<string>"
}
],
"variants": [
{
"name": "<string>",
"description": "",
"features": [
{
"value": "<string>"
}
],
"cover": "<string>",
"coverBlurHash": "<string>",
"coverVideo": "<string>",
"externalId": "<string>"
}
],
"customFields": [
{
"id": "<string>",
"type": "<string>",
"label": "<string>",
"placeholder": "<string>",
"regex": "<string>",
"validationUrl": "<string>",
"validationUrlSecret": "<string>",
"values": "<any>"
}
],
"productRedeemMessage": "<string>",
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"type": "<string>",
"requirements": "<any>",
"developer": "<any>",
"publisher": "<any>",
"pegiRating": "<any>",
"releaseDate": "<any>"
}'
{
"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
}
}
}
Body
application/json
POST /v0/products/create Request body
Required string length:
1 - 150
Allowed value:
"VirtualItem"
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
Available options:
DRAFT
, ACTIVE
, HIDDEN
Available options:
Windows
, MacOs
, Linux
, PlayStation 4
, PlayStation 5
, Xbox One
, Xbox Series X|S
, iOS
, Android
, Nintendo Switch
, Nintendo 3DS
Available options:
AFN
, ALL
, DZD
, AOA
, ARS
, AMD
, AWG
, AUD
, AZN
, BSD
, BDT
, BBD
, BZD
, BMD
, BOB
, BAM
, BWP
, BRL
, BHD
, GBP
, BND
, BGN
, BIF
, BYN
, KHR
, CAD
, CVE
, KYD
, KWD
, XAF
, XPF
, CLP
, CNY
, COP
, KMF
, CDF
, CRC
, HRK
, CZK
, DKK
, DJF
, DOP
, XCD
, EGP
, ETB
, EUR
, FKP
, FJD
, GMD
, GEL
, GIP
, GTQ
, GNF
, GYD
, HTG
, HNL
, HKD
, HUF
, ISK
, INR
, IDR
, ILS
, JMD
, JPY
, JOD
, KZT
, KES
, KGS
, LAK
, LBP
, LSL
, LRD
, MOP
, MKD
, MGA
, MWK
, MYR
, MVR
, MRO
, MUR
, MXN
, MDL
, MNT
, MAD
, MZN
, MMK
, NAD
, NPR
, ANG
, TWD
, NZD
, NIO
, NGN
, NOK
, OMR
, PKR
, PAB
, PGK
, PYG
, PEN
, PHP
, PLN
, QAR
, RON
, RUB
, RWF
, SHP
, SVC
, WST
, STD
, SAR
, RSD
, SCR
, SLL
, SGD
, SBD
, SOS
, ZAR
, KRW
, LKR
, SRD
, SZL
, SEK
, CHF
, TJS
, TZS
, THB
, TND
, TOP
, TTD
, TRY
, UGX
, UAH
, AED
, UYU
, USD
, UZS
, VUV
, VEF
, VND
, XOF
, YER
, ZMW
, SLE
Required range:
0 <= x <= 1.7976931348623157e+308
Required range:
0 <= x <= 9007199254740991
Required string length:
1 - 150
Required range:
0 <= x <= 1.7976931348623157e+308
Available options:
Global
, Europe
, Argentina
, United States
, Turkey
, United Kingdom
, Latin America
, Brazil
, Canada
, Mexico
, Germany
, Colombia
, France
, Saudi Arabia
, Australia
, Spain
, India
, Italy
, Netherlands
, United Arab Emirates
, North America
, Poland
, Belgium
, Asia
, Egypt
, Austria
, Singapore
, EMEA
, Ireland
, RU/CIS
, Sweden
, Portugal
, Switzerland
, New Zealand
, Malaysia
, Finland
, Greece
, Norway
, Denmark
, Japan
, Hong Kong
, Philippines
, Middle East
, Indonesia
, Czech Republic
, South Africa
, South Korea
, Luxembourg
, Slovakia
, Romania
, Slovenia
, Hungary
, Chile
, Nigeria
, Thailand
, Kuwait
, Vietnam
, Rest of the World
, Bahrain
, Qatar
Available options:
Meta Quest
, TV
, Music
, Tidal
, Tinder
, Zalando
, Razer
, Netflix
, Spotify
, Walmart
, Amazon
, Food
, Prepaid
, Steam
, Xbox Live
, Origin
, PSN
, Ubisoft Connect
, Nintendo
, Official Website
, GOG.com
, Epic Games
, Windows Store
, Battle.net
, Riot Games
, Steam Gift Card
, Roblox
, Green gift
, EA App
, Rockstar Games Launcher
, ArenaNet
, PUBG
, App Store
, Google Play
, Mobile
, Other
, Rockstar
Available options:
day
, month
, week
, year
Required range:
1 <= x <= 9007199254740991
Available options:
day
, month
, week
, year
Required range:
1 <= x <= 9007199254740991
Required range:
-9007199254740991 <= x <= 9007199254740991
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Minimum length:
1
Allowed value:
"text"
Minimum length:
3
This value will never be returned in this type
This value will never be returned in this type
This value will never be returned in this type
This value will never be returned in this type
This value will never be returned in this type
This value will never be returned in this type
Response
200
application/json
POST /v0/products/create 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/create \
--header 'Content-Type: application/json' \
--header 'x-fngs-public-key: <api-key>' \
--header 'x-fngs-secret-key: <api-key>' \
--data '{
"name": "<string>",
"description": "",
"cover": "<string>",
"coverBlurHash": "<string>",
"coverVideo": "<string>",
"gallery": [
{
"value": "<string>",
"blurHash": "<string>"
}
],
"trailer": "<string>",
"featureCoverVideo": true,
"genres": [
"Action"
],
"features": [
{
"value": "<string>"
}
],
"status": "DRAFT",
"externalId": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"systems": [
"Windows"
],
"offers": [
{
"name": "<string>",
"description": "",
"cover": "<string>",
"coverBlurHash": "<string>",
"currency": "AFN",
"price": 8.988465674311579e+307,
"originalPrice": 8.988465674311579e+307,
"freeProduct": false,
"limit": 4503599627370495,
"region": "Global",
"platform": "Global",
"recurringInterval": "day",
"recurringIntervalCount": 4503599627370496,
"trialInterval": "day",
"trialIntervalCount": 4503599627370496,
"gtin": "<string>",
"externalId": "<string>",
"variantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"variantIdx": 0,
"fileName": "<string>",
"downloadFile": "<string>",
"downloadFileName": "<string>",
"downloadFileSize": 0,
"downloadDescription": "<string>",
"productKeys": [
"<string>"
],
"hasDiscount": true,
"warningMessage": "<string>",
"mutableQuantity": true,
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"downloadFileData": {
"chunks": [
{
"chunk": "<string>",
"metadata": {
"number": 0,
"start": 0,
"end": 0,
"size": 0
}
}
],
"totalChunks": 0,
"totalSize": 0
},
"downloadFileType": "<string>"
}
],
"variants": [
{
"name": "<string>",
"description": "",
"features": [
{
"value": "<string>"
}
],
"cover": "<string>",
"coverBlurHash": "<string>",
"coverVideo": "<string>",
"externalId": "<string>"
}
],
"customFields": [
{
"id": "<string>",
"type": "<string>",
"label": "<string>",
"placeholder": "<string>",
"regex": "<string>",
"validationUrl": "<string>",
"validationUrlSecret": "<string>",
"values": "<any>"
}
],
"productRedeemMessage": "<string>",
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"type": "<string>",
"requirements": "<any>",
"developer": "<any>",
"publisher": "<any>",
"pegiRating": "<any>",
"releaseDate": "<any>"
}'
{
"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
}
}
}