Update a partner

Updates the specified partner by setting the values of the parameters passed. Only the MPValue{i} parameter can be updated.

Parameters


MPValue1 optional

A custom value assigned to partners that can be appended as a query string parameter to all landing pages, depending on how both the Partner Tracking Template and Campaign Tracking Template are configured in gateway tracking settings. This value is applied at the account level, meaning it remains the same across all of your campaigns (or programs) for partners. Learn more about Gateway Tracking Settings.


MPValue2 optional

A custom value assigned to partners that can be appended as a query string parameter to all landing pages, depending on how both the Partner Tracking Template and Campaign Tracking Template are configured in gateway tracking settings. This value is applied at the account level, meaning it remains the same across all of your campaigns (or programs) for partners. Learn more about Gateway Tracking Settings.


MPValue3 optional

A custom value assigned to partners that can be appended as a query string parameter to all landing pages, depending on how both the Partner Tracking Template and Campaign Tracking Template are configured in gateway tracking settings. This value is applied at the account level, meaning it remains the same across all of your campaigns (or programs) for partners. Learn more about Gateway Tracking Settings.

Returns


Returns the partner object if the update succeeded. Returns an error if update parameters are invalid.

Example request


curl 'https://api.impact.com/Advertisers/<AccountSID>/MediaPartners/1299679' \
  -X PUT \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'MPValue1=Loyalty'

Example response


{
	"Status": "OK",
	"Uri": "/Advertisers/<AccountSID>/MediaPartners/1299679"
}