Products

Create a product

Creates a product. Add its variants and offers with their own operations.

Authorization

bearer catalogue:write
AuthorizationBearer <token>

A v1 API key; the scope named is the one the route needs.

In: header

Scope: catalogue:write

Header Parameters

Idempotency-Key*string

Names the act so a retry under it lands on the stored answer (idempotency-key).

Length1 <= length <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

POST
/v1/products
curl -X POST "https://example.com/v1/products" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "kind": "digital_download",    "name": "string"  }'
{  "id": "string",  "liveMode": true,  "kind": "string",  "status": "string",  "name": "string",  "description": "string",  "externalId": "string",  "redeemMessage": "string",  "redeemMessageClipped": true,  "coverImageKey": "string",  "coverImageUrl": "http://example.com",  "coverBlurHash": "string",  "gallery": [    {      "key": "string",      "url": "http://example.com",      "blurHash": "string"    }  ],  "coverVideoUrl": "string",  "featureCoverVideo": true,  "genres": [    "string"  ],  "systems": [    "string"  ],  "requirements": {    "minimum": [      {        "system": "string",        "name": "string",        "value": "string"      }    ],    "recommended": [      {        "system": "string",        "name": "string",        "value": "string"      }    ]  },  "developer": "string",  "publisher": "string",  "pegiRating": "string",  "releasedAt": "2019-08-24T14:15:22Z",  "features": [    {      "value": "string"    }  ],  "tags": [    {      "id": "string",      "name": "string"    }  ],  "archivedAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}