Affiliates

Per-product commission for a tier (SellAuth alias)

PUT
/formats/sellauth/v1/shops/{storeId}/affiliate-tiers/{tierId}/products

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
tierId*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/formats/sellauth/v1/shops/string/affiliate-tiers/string/products" \  -H "Content-Type: application/json" \  -d '{    "products": [      {        "product_id": "string",        "percentage": 0      }    ]  }'
{  "property1": null,  "property2": null}