cURL
curl --request POST \ --url https://api.bonifiq.com.br/v1/pvt/Affiliate \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "Name": "<string>", "Email": "<string>", "Document": "<string>", "Phone": "<string>", "Coupon": "<string>", "InviteToPortal": true, "CreateCustomer": true } '
{ "ErrorMessage": "<string>", "ErrorCode": 123, "Result": true, "HasError": true }
Use API Basic Auth Keys
Email address of the affiliate, used in OriginalId
Affiliate code or coupon
Invite to affiliate portal, if the portal is active
Flag to create the customer in loyalty if not exists
Error message or description
Optional error code, if available
If true the request had an error.
Was this page helpful?