Storefront growth

Loyalty tiers and the Trustpilot review invitation

GET
/v1/stores/{storeId}/growth/settings

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/growth/settings"
{  "buyerPushEnabled": true,  "loyaltyEnabled": true,  "loyaltyTiers": [    {      "id": "string",      "name": "string",      "minSpendMinor": -9007199254740991,      "criterion": "lifetime_spend",      "threshold": -9007199254740991,      "discountBp": 0,      "color": "string"    }  ],  "loyaltyRewardEnabled": true,  "loyaltyEarnBp": 0,  "loyaltyOrderCapMinor": -9007199254740991,  "loyaltyExpiryDays": -9007199254740991,  "loyaltyEligibleProductIds": [    "178b7d1d-bd55-4415-ae9e-ce352ae46443"  ],  "loyaltyRewardProductId": "3ec77279-fa73-4e24-8a11-e4fc66c640ab",  "loyaltyRewardVariantId": "0313d002-40b7-4242-a835-32b0a579ece8",  "loyaltyRewardMinSpendMinor": -9007199254740991,  "loyaltyRewardMaxPerCustomer": -9007199254740991,  "trustpilotReviewUrl": "string",  "trustpilotInvite": true,  "currency": "string"}