notifications

POST /admin/notifications/send/{template_name}

Send a notification to your affiliates

Request

  • Base URL
    https://api.goaffpro.com/v1
  • URL
    https://api.goaffpro.com/v1/admin/notifications/send/{template_name}
  • Auth
    API key in header x-goaffpro-access-token

Path parameters

template_name'partneraccountapproved' | 'partneraccountblocked' | 'partnerpayoutemail' | 'partnersale' | 'partnerinvitation' required

Name of the template to send to the affiliate

Request body

affiliate_idstring

ID of the affiliate to send the notification to

order_idstring

ID of the order (if an order template is being sent)

payout_idstring

ID of the payout (if a payout template is being sent)

htmlstring

HTML content of the email

subjectstring

Subject of the email

tostring

To email address

fromstring

From email address

replyTostring

Reply-to email address

Response

successnumber

Changes

No recorded changes to this operation across all 7 revisions of this API.