Marketplace

List the shop

GET/v1/marketplace-items

Lists what the player can see in the shop right now, each item carrying whether they can buy it and what is left. Items curated into a collection only are not included.

AuthorizationBearer <token>

Paste a project API key (no 'Bearer ' prefix). Create one in the dashboard under API keys.

In: header

Query Parameters

PlayerId?string

Your own id for the player.

Take?integer

Cap the number of items returned. Null = no cap.

Formatint32
LanguageCode?string

Preferred locale for item text; null = each text's default locale.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/marketplace-items"
[  {    "marketplaceItemKey": "string",    "name": "string",    "description": null,    "images": {      "property1": "string",      "property2": "string"    },    "priceInPoints": 0,    "contents": [      {        "catalogItemKey": "string",        "value": {          "type": "number",          "value": 0.1        }      }    ],    "status": "Purchasable",    "isPurchasable": true,    "occurrenceNumber": 0,    "remainingStock": null,    "remainingPurchases": null,    "availableUntilUtc": null  }]