PaidGoods
API referenceResellers

Enrol or withdraw products from the reseller programme

PUT
/v1/stores/{storeId}/resellers/products

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 PUT "https://example.com/v1/stores/string/resellers/products" \  -H "Content-Type: application/json" \  -d '{    "productIds": [      "ab269553-289b-4dda-82f7-ac36b3555fb3"    ],    "enabled": true  }'
{  "changed": -9007199254740991,  "skipped": -9007199254740991}