curl --request PATCH \
--url https://api.fungies.io/v0/products/{productId}/update \
--header 'Content-Type: application/json' \
--header 'x-fngs-public-key: <api-key>' \
--header 'x-fngs-secret-key: <api-key>' \
--data '
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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": [
{
"currency": "AFN",
"price": 8.988465674311579e+307,
"limit": 4503599627370495,
"name": "<string>",
"description": "",
"cover": "<string>",
"coverBlurHash": "<string>",
"originalPrice": 8.988465674311579e+307,
"freeProduct": false,
"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,
"taxBehavior": "exclusive",
"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": "<unknown>"
}
],
"productRedeemMessage": "<string>",
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"type": "<string>",
"developer": "<string>",
"publisher": "<string>",
"pegiRating": "3",
"releaseDate": 4503599627370495,
"requirements": {
"minimum": [
{
"system": "Windows",
"requirement": "<string>",
"value": "<string>"
}
],
"recommended": [
{
"system": "Windows",
"requirement": "<string>",
"value": "<string>"
}
]
}
}
'{
"status": "<string>",
"data": {
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "DigitalDownload",
"status": "DRAFT",
"object": "product",
"internalId": null,
"name": "",
"description": "",
"developer": null,
"publisher": null,
"pegiRating": null,
"releaseDate": null,
"systems": null,
"genres": null,
"customFields": null
}
}
}Update an existing product with the specified details.
curl --request PATCH \
--url https://api.fungies.io/v0/products/{productId}/update \
--header 'Content-Type: application/json' \
--header 'x-fngs-public-key: <api-key>' \
--header 'x-fngs-secret-key: <api-key>' \
--data '
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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": [
{
"currency": "AFN",
"price": 8.988465674311579e+307,
"limit": 4503599627370495,
"name": "<string>",
"description": "",
"cover": "<string>",
"coverBlurHash": "<string>",
"originalPrice": 8.988465674311579e+307,
"freeProduct": false,
"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,
"taxBehavior": "exclusive",
"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": "<unknown>"
}
],
"productRedeemMessage": "<string>",
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"type": "<string>",
"developer": "<string>",
"publisher": "<string>",
"pegiRating": "3",
"releaseDate": 4503599627370495,
"requirements": {
"minimum": [
{
"system": "Windows",
"requirement": "<string>",
"value": "<string>"
}
],
"recommended": [
{
"system": "Windows",
"requirement": "<string>",
"value": "<string>"
}
]
}
}
'{
"status": "<string>",
"data": {
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "DigitalDownload",
"status": "DRAFT",
"object": "product",
"internalId": null,
"name": "",
"description": "",
"developer": null,
"publisher": null,
"pegiRating": null,
"releaseDate": null,
"systems": null,
"genres": null,
"customFields": null
}
}
}PATCH /v0/products/:productId/update Parameter
PATCH /v0/products/:productId/update Request body
1 - 150Action, 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 DRAFT, ACTIVE, HIDDEN Windows, MacOs, Linux, PlayStation 4, PlayStation 5, Xbox One, Xbox Series X|S, iOS, Android, Nintendo Switch, Nintendo 3DS Show child attributes
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, XCG, SSP, VES, MRU, STN, VED 0 <= x <= 1.7976931348623157e+3080 <= x <= 90071992547409911 - 1500 <= x <= 1.7976931348623157e+308Global, 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 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 day, month, week, year 1 <= x <= 9007199254740991day, month, week, year 1 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-1.7976931348623157e+308 <= x <= 1.7976931348623157e+3081exclusive, inclusive Show child attributes
Show child attributes
Show child attributes
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308Show child attributes
Show child attributes
1"text"3""This value will never be returned in this type
"Game"3, 7, 12, 16, 18, ! 0 <= x <= 9007199254740991Show child attributes
Show child attributes
Windows, MacOs, Linux, PlayStation 4, PlayStation 5, Xbox One, Xbox Series X|S, iOS, Android, Nintendo Switch, Nintendo 3DS 11Show child attributes
Windows, MacOs, Linux, PlayStation 4, PlayStation 5, Xbox One, Xbox Series X|S, iOS, Android, Nintendo Switch, Nintendo 3DS 11PATCH /v0/products/:productId/update Positive response
"success"Show child attributes
Show child attributes
DigitalDownload, Game, GiftCard, SoftwareKey, VirtualCurrency, VirtualItem, Subscription, OneTimePayment DRAFT, ACTIVE, HIDDEN product 3, 7, 12, 16, 18, ! 0 <= x <= 9007199254740991Windows, MacOs, Linux, PlayStation 4, PlayStation 5, Xbox One, Xbox Series X|S, iOS, Android, Nintendo Switch, Nintendo 3DS 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