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 body
Example request
{
"affiliate_code": "PARTNER10"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.