PaidGoods
API referenceStorefront

Count a referral-link visit (storefront ?a=CODE)

POST
/v1/public/stores/{storeId}/affiliates/click

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/public/stores/string/affiliates/click" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
{  "counted": true,  "windowDays": -9007199254740991,  "code": "string"}