Customer account

Choose whether you appear on the public affiliate leaderboard

PUT
/v1/public/stores/{storeId}/account/affiliate/leaderboard

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/public/stores/string/account/affiliate/leaderboard" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "displayName": "string"  }'
{  "ok": true}