PaidGoods
API referenceStorefront

Purchase role server and expiry policy

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

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/storefront/settings/discord/roles"
{  "guildId": "string",  "removeOnExpiry": true}