PaidGoods
API referenceCustomer account

Change your affiliate code (when the store allows it)

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

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