Makes a user an affiliate of a discount, with their commission.
PUT
https://api.sherpo.io/merchant/v1/stores/{store}/discounts/{discount}/affiliatesAuthorization
Path parameters
Request body JSON required
Returns
200
Makes a user an affiliate of a discount, with their commission.
JSON
default
A problem; see https://api.sherpo.io/merchant/docs/errors.