Products

Create a new product

Create a new product with the specified details. Products can be one of several types: - OneTimePayment: Standard products purchased once - Subscription: Products with recurring billing - Membership: Access-based products - GameKey: Digital key distribution After creation, add offers to make the product purchasable.

Authorization

Public key Secret key
x-fngs-public-key<token>

In: header

x-fngs-secret-key<token>

In: header

Request Body

application/json

POST /v0/products/create Request body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

POST
/v0/products/create
curl -X POST "https://example.com/v0/products/create" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",    "type": "VirtualItem"  }'
{  "status": "success",  "data": {    "product": {      "object": "product",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "type": "DigitalDownload",      "internalId": null,      "name": "",      "description": "",      "developer": null,      "publisher": null,      "pegiRating": "3",      "releaseDate": null,      "systems": null,      "genres": null,      "status": "DRAFT",      "customFields": null    }  }}