Invites an affiliate, this will create a customer profile if one does not exist and takes in a customer email
address instead.
Requires the stores.affiliates.update permission.
Your API key goes here
Store to create the affiliate in.
Affiliate details (link, percentages, etc.).
Form for affiliates to update or add their own affiliate link
The object was successfully created.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Form for store owners to edit affiliate status.