PATCH
/
v0
/
products
/
{productId}
/
update
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 '{
  "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>",
  "developer": "<string>",
  "publisher": "<string>",
  "pegiRating": "3",
  "releaseDate": 4503599627370495,
  "requirements": {
    "minimum": [
      {
        "system": "Windows",
        "requirement": "<string>",
        "value": "<string>"
      }
    ],
    "recommended": [
      {
        "system": "Windows",
        "requirement": "<string>",
        "value": "<string>"
      }
    ]
  },
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "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
    }
  }
}

Authorizations

x-fngs-public-key
string
header
required
x-fngs-secret-key
string
header
required

Path Parameters

productId
string
required

PATCH /v0/products/:productId/update Parameter

Body

application/json
PATCH /v0/products/:productId/update Request body
id
string
required
name
string
Required string length: 1 - 150
description
string
default:
cover
string
coverBlurHash
string
coverVideo
trailer
featureCoverVideo
boolean
genres
enum<string>[]
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
features
object[]
status
enum<string>
Available options:
DRAFT,
ACTIVE,
HIDDEN
externalId
string
projectId
string
systems
enum<string>[]
Available options:
Windows,
MacOs,
Linux,
PlayStation 4,
PlayStation 5,
Xbox One,
Xbox Series X|S,
iOS,
Android,
Nintendo Switch,
Nintendo 3DS
offers
object[]
variants
object[]
customFields
object[]
productRedeemMessage
string
tags
object[]
type
string
Allowed value: "Game"
developer
string
publisher
string
pegiRating
enum<string>
Available options:
3,
7,
12,
16,
18,
!
releaseDate
integer | null
Required range: 0 <= x <= 9007199254740991
requirements
object

Response

200
application/json
PATCH /v0/products/:productId/update Positive response
status
string
required
Allowed value: "success"
data
object
required