Skip to main content
PATCH
Update an affiliate in a program

Authorizations

X-Api-Key
string
header
required

Your API key, from your Tapfiliate account settings.

Path Parameters

program_id
string
required

The id of the Program.

affiliate_id
string
required

The id of the affiliate.

Body

application/json
coupon
string
required

The affiliate's coupon code for this program

Example:

"JANE20OFF"

Response

OK

id
string
firstname
string
lastname
string
email
string
company
object
address
object
meta_data
object
parent_id
string
coupon
string
approved
boolean
affiliate_group_id
unknown
created_at
string
applied_at
string
promoted_at
unknown
promotion_method
unknown
custom_fields
object