Feedbacks

Update review moderation and reward-coupon settings

PUT
/v1/stores/{storeId}/feedbacks/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 PUT "https://example.com/v1/stores/string/feedbacks/settings" \  -H "Content-Type: application/json" \  -d '{    "requireApproval": true,    "rewardEnabled": true,    "rewardKind": "percent",    "rewardValue": -9007199254740991,    "rewardCurrency": "str",    "rewardProductId": "4fbf9579-292f-4c33-a37b-3640ab4af462",    "rewardVariantId": "ac968c9b-6ec3-424c-9f9e-a36a5da52eb0",    "rewardEligibleProductIds": [      "d7dc61e7-b1d3-4ab7-a041-d39eddf0b4a8"    ],    "rewardMinOrderMinor": -9007199254740991,    "rewardMaxPerCustomer": -9007199254740991,    "rewardExpiryDays": -9007199254740991,    "abuseMinOrderMinor": -9007199254740991,    "automaticEnabled": true,    "automaticDelayDays": 1  }'
{  "requireApproval": true,  "rewardEnabled": true,  "rewardKind": "percent",  "rewardValue": -9007199254740991,  "rewardCurrency": "str",  "rewardProductId": "4fbf9579-292f-4c33-a37b-3640ab4af462",  "rewardVariantId": "ac968c9b-6ec3-424c-9f9e-a36a5da52eb0",  "rewardEligibleProductIds": [    "d7dc61e7-b1d3-4ab7-a041-d39eddf0b4a8"  ],  "rewardMinOrderMinor": -9007199254740991,  "rewardMaxPerCustomer": -9007199254740991,  "rewardExpiryDays": -9007199254740991,  "abuseMinOrderMinor": -9007199254740991,  "automaticEnabled": true,  "automaticDelayDays": 1,  "collectEnabled": true,  "allowImages": true,  "allowLinks": true}