API referenceCustomer account
Change your affiliate code (when the store allows it)
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}