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,
"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": "<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
The body is of type object
.
The body is of type object
.
The body is of type object
.
The body is of type object
.
The body is of type object
.
The body is of type object
.
The body is of type object
.
The body is of type object
.
The body is of type object
.
Response
200
application/json
POST /v0/products/create Positive response
The response is of type 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,
"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": "<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
}
}
}