Storefront

The Discord servers and roles your bot can give (for the role pickers)

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

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Query Parameters

refresh?string

Value in

  • "0"
  • "1"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/storefront/settings/discord/guilds"
{  "connected": true,  "simulated": true,  "message": "string",  "defaultGuildId": "string",  "guilds": [    {      "id": "string",      "name": "string",      "roles": [        {          "id": "string",          "name": "string",          "assignable": true        }      ]    }  ]}