PaidGoods
API referenceStorefront growth (buyers)

Your loyalty tier on this store (null when the store has none)

GET
/v1/public/stores/{storeId}/account/loyalty

Path Parameters

storeId*string

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/public/stores/string/account/loyalty"
{  "tier": {    "id": "string",    "name": "string",    "minSpendMinor": -9007199254740991,    "color": "string"  },  "next": {    "id": "string",    "name": "string",    "minSpendMinor": -9007199254740991,    "color": "string"  },  "toNextMinor": -9007199254740991,  "spentMinor": -9007199254740991,  "currency": "string"}