PaidGoods
API referenceAffiliates

Suspend, restore, review or change the tier of many affiliates

POST
/v1/stores/{storeId}/affiliates/bulk

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

curl -X POST "https://example.com/v1/stores/string/affiliates/bulk" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "6e0346a3-e54d-40e3-9779-4ba1e707e35b"    ],    "action": "suspend"  }'
{  "changed": -9007199254740991,  "skipped": -9007199254740991}