Affiliates
Set Affiliate Code
Sets the affiliate code for a customer in a shop. Suspend the affiliate instead of clearing their code.
put/v1/shops/{shopId}/affiliates/{customerId}/code
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"affiliate_code": "PARTNER10"
}Changes
No recorded changes to this operation across all 8 revisions of this API.