Storefront

Recent purchase-role grants and removals, with Discord’s errors

GET
/v1/stores/{storeId}/storefront/settings/discord/assignments

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Query Parameters

problems?string

Value in

  • "true"
  • "false"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/storefront/settings/discord/assignments"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",      "discordUserId": "string",      "roleId": "string",      "state": "pending",      "attempts": -9007199254740991,      "lastError": "string",      "simulated": true,      "updatedAt": "string"    }  ]}