Storefront growth for 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

application/json

curl -X GET "https://example.com/v1/public/stores/string/account/loyalty"
{  "tier": {    "id": "string",    "name": "string",    "minSpendMinor": -9007199254740991,    "criterion": "lifetime_spend",    "threshold": -9007199254740991,    "discountBp": 0,    "color": "string"  },  "next": {    "id": "string",    "name": "string",    "minSpendMinor": -9007199254740991,    "criterion": "lifetime_spend",    "threshold": -9007199254740991,    "discountBp": 0,    "color": "string"  },  "toNextMinor": -9007199254740991,  "toNext": -9007199254740991,  "spentMinor": -9007199254740991,  "orderCount": -9007199254740991,  "currency": "string",  "rewardPolicy": {    "enabled": true,    "earnBp": -9007199254740991,    "orderCapMinor": -9007199254740991,    "expiryDays": -9007199254740991,    "rewardProductId": "4fbf9579-292f-4c33-a37b-3640ab4af462",    "rewardVariantId": "ac968c9b-6ec3-424c-9f9e-a36a5da52eb0",    "minSpendMinor": -9007199254740991,    "maxPerCustomer": -9007199254740991  }}