Storefront growth

Change loyalty tiers or the Trustpilot invitation

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

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/stores/string/growth/settings" \  -H "Content-Type: application/json" \  -d '{}'
{  "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"}