The Affiliate Object
An affiliate object represents an affiliate of your store. It is created when a user applies to your affiliate program.
Attributes
store_id
The ID of the store this affiliate belongs to.
user_id
The ID of the user this affiliate belongs to.
user_name
The full name of the affiliate.
user_email
The email address of the affiliate.
share_domain
The domain this affiliate uses to promote products.
status
The status of the affiliate. Either active
, pending
or disabled
.
application_note
The application note of the affiliate.
products
The list of products enabled for this affiliate in the JSON format.
total_earnings
A positive integer in cents representing the total earnings of the affiliate.
unpaid_earnings
A positive integer in cents representing the unpaid earnings of the affiliate.
created_at
An ISO 8601 formatted date-time string indicating when the object was created.
updated_at
An ISO 8601 formatted date-time string indicating when the object was last updated.