Partnerize

App · 22 actions

Manage partner programs in Partnerize: approve partners, conversions and transaction queries, run deals and voucher codes, and report on clicks and sales.

Actions

ActionWhat it does
Approve a transaction queryApprove a pending transaction query, which creates the missing conversion.
Approve or reject a partnerApprove, reject or set back to pending a partner's place on a campaign.
Approve or reject conversionsApprove, reject or set back to pending one or more of a campaign's conversions.
Create a dealAdd a deal (an offer, sale or coupon) to a campaign for partners to promote.
Create a voucher codeAdd a voucher code to a campaign, so sales that use it are credited to the partners in its groups.
End a dealTurn a deal off, which is how Partnerize deletes one.
Get a campaignGet a campaign's settings.
Get a campaign partnerGet a partner on a campaign, with their websites and status.
Get a dealGet one of a campaign's deals.
Get a jobCheck a background job, such as a conversion update, and how many items succeeded.
List a campaign's partnersList the partners on a campaign, with their status: approved, pending or rejected.
List brandsList the brands (advertisers) on your Partnerize network.
List campaignsList the campaigns you can see in Partnerize.
List clicksList the clicks on a campaign's tracking links over a period.
List conversionsList a campaign's conversions (sales and leads) over a period, with their value, commission and status.
List dealsList a campaign's deals: offers and coupons partners can promote.
List invoicesList a brand's invoices with their totals and status.
List partner groupsList a campaign's partner (commission) groups and the partners in each.
List transaction queriesList partners' claims for sales that weren't tracked on a campaign.
List voucher codesList a campaign's voucher codes.
Reject a transaction queryReject a pending transaction query, with the reason.
Update a dealChange a deal.

Approve a transaction query

Approve a pending transaction query, which creates the missing conversion.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Transaction querytransaction_query_idtextRequired
The transaction query: a partner's claim for a sale that wasn't tracked.
Commissioncommissionnumber
The commission the conversion should have. Leave empty for the expected commission.At least 0.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "actions_available": [
      "example"
    ],
    "campaign_id": "example",
    "conversion_currency": "example",
    "conversion_date_time": "example",
    "conversion_id": "example",
    "conversion_reference": "example",
    "conversion_value": 1,
    "created_at": "example",
    "current_state": "example",
    "expected_commission": 1,
    "notes": "example",
    "publisher_id": "example",
    "publisher_reference": "example",
    "transaction_query_id": "example"
  }
}

Approve or reject a partner

Approve, reject or set back to pending a partner's place on a campaign.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Partnerpublisher_idtextRequired
The partner.
StatusstatustextRequired
The partner's new status on the campaign.One of: a (Approved), p (Pending), r (Rejected).

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "account_name": "example",
    "campaign_status": "example",
    "company_name": "example",
    "contact_email": "example",
    "contact_name": "example",
    "default_currency": "example",
    "network_status": "example",
    "operating_country": "example",
    "promotional_method_name": "example",
    "publisher_id": "example",
    "vertical_name": "example",
    "websites": [
      {
        "website_id": "example",
        "website_type_name": "example",
        "website_url": "example"
      }
    ]
  }
}

Approve or reject conversions

Approve, reject or set back to pending one or more of a campaign's conversions. Partnerize applies the change in the background and returns the job.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Conversion IDsconversion_idslistRequired
The conversions, by conversion ID.
StatusstatustextRequired
The new status.One of: approved, rejected, pending.
Reasonreasontext
Why, such as `cancelled order`. Letters, digits, spaces and :-_.,;# only.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "id": "example",
    "item_error_count": 1,
    "item_success_count": 1,
    "item_total_count": 1,
    "percentage_complete": 1,
    "status": "example",
    "type": "example"
  }
}

Create a deal

Add a deal (an offer, sale or coupon) to a campaign for partners to promote.

Inputs

Campaigncampaign_idtextRequired
The campaign.
TitletitletextRequired
The deal's title.
DescriptiondescriptiontextRequired
What the deal offers.
Typeoffer_typetextRequired
The kind of deal.One of: coupon, offer, sale.
Valueoffer_valuetextRequired
What the deal is worth, such as `40% off`.
Coupon codecoupon_codetext
The coupon code for the deal.
Destination URLdestinationtext
The page the deal links to.
Startsstartdate and time
When the deal starts.
Endsenddate and time
When the deal ends.
Termstermstext
The deal's terms.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "active": "example",
    "campaign_deal_id": "example",
    "category": "example",
    "country_iso": "example",
    "coupon_code": "example",
    "created_at": "example",
    "description": "example",
    "destination": "example",
    "end_date_time": "example",
    "offer_type": "example",
    "offer_value": "example",
    "start_date_time": "example",
    "terms": "example",
    "title": "example",
    "updated_at": "example"
  }
}

Create a voucher code

Add a voucher code to a campaign, so sales that use it are credited to the partners in its groups.

Inputs

Campaigncampaign_idtextRequired
The campaign.
CodecodetextRequired
The voucher code itself.
Descriptiondescriptiontext
A description of the code.
Startsstartdate and time
When the code starts, in UTC.
Endsenddate and time
When the code ends, in UTC.
Partner groupsgroup_idslist
The partner groups the code belongs to.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "active": "example",
    "campaign_id": "example",
    "commission_groups": [
      "example"
    ],
    "description": "example",
    "end_date_time": "example",
    "start_date_time": "example",
    "voucher_code": "example",
    "voucher_code_id": "example"
  }
}

End a deal

Turn a deal off, which is how Partnerize deletes one.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Dealdeal_idtextRequired
The deal.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "active": "example",
    "campaign_deal_id": "example"
  }
}

Get a campaign

Get a campaign's settings.

Inputs

Campaigncampaign_idtextRequired
The campaign.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "advertiser_id": "example",
    "advertiser_name": "example",
    "auto_approve_publisher": "example",
    "campaign_id": "example",
    "conversion_type": "example",
    "default_commission_rate": "example",
    "default_currency": "example",
    "destination_url": "example",
    "reporting_timezone": "example",
    "status": "example",
    "title": "example",
    "tq_enabled": "example",
    "vertical_name": "example"
  }
}

Get a campaign partner

Get a partner on a campaign, with their websites and status.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Partnerpublisher_idtextRequired
The partner.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "account_name": "example",
    "campaign_status": "example",
    "company_name": "example",
    "contact_email": "example",
    "contact_name": "example",
    "default_currency": "example",
    "network_status": "example",
    "operating_country": "example",
    "promotional_method_name": "example",
    "publisher_id": "example",
    "vertical_name": "example",
    "websites": [
      {
        "website_id": "example",
        "website_type_name": "example",
        "website_url": "example"
      }
    ]
  }
}

Get a deal

Get one of a campaign's deals.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Dealdeal_idtextRequired
The deal.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "active": "example",
    "campaign_deal_id": "example",
    "category": "example",
    "country_iso": "example",
    "coupon_code": "example",
    "created_at": "example",
    "description": "example",
    "destination": "example",
    "end_date_time": "example",
    "offer_type": "example",
    "offer_value": "example",
    "start_date_time": "example",
    "terms": "example",
    "title": "example",
    "updated_at": "example"
  }
}

Get a job

Check a background job, such as a conversion update, and how many items succeeded.

Inputs

Job IDjob_idtextRequired
The job ID a bulk step returned.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "id": "example",
    "item_error_count": 1,
    "item_success_count": 1,
    "item_total_count": 1,
    "percentage_complete": 1,
    "status": "example",
    "type": "example"
  }
}

List a campaign's partners

List the partners on a campaign, with their status: approved, pending or rejected.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Statusstatustext
Only partners with this status.One of: a (Approved), p (Pending), r (Rejected).

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "publishers": [
      {
        "account_name": "example",
        "campaign_status": "example",
        "company_name": "example",
        "contact_email": "example",
        "contact_name": "example",
        "default_currency": "example",
        "network_status": "example",
        "operating_country": "example",
        "promotional_method_name": "example",
        "publisher_id": "example",
        "vertical_name": "example",
        "websites": [
          {
            "website_id": "example",
            "website_type_name": "example",
            "website_url": "example"
          }
        ]
      }
    ]
  }
}

List brands

List the brands (advertisers) on your Partnerize network.

Inputs

None.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "advertisers": [
      {
        "account_name": "example",
        "advertiser_id": "example",
        "company_name": "example",
        "country": "example",
        "default_currency": "example",
        "display_name": "example",
        "status": "example"
      }
    ]
  }
}

List campaigns

List the campaigns you can see in Partnerize.

Inputs

None.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "campaigns": [
      {
        "advertiser_id": "example",
        "advertiser_name": "example",
        "auto_approve_publisher": "example",
        "campaign_id": "example",
        "conversion_type": "example",
        "default_commission_rate": "example",
        "default_currency": "example",
        "destination_url": "example",
        "reporting_timezone": "example",
        "status": "example",
        "title": "example",
        "tq_enabled": "example",
        "vertical_name": "example"
      }
    ]
  }
}

List clicks

List the clicks on a campaign's tracking links over a period. A page holds 300.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Fromstartdate and timeRequired
The start of the period, in UTC.
Toenddate and time
The end of the period, in UTC. Leave empty for now.
Skipoffsetnumber
How many to skip, for paging. A page holds 300.At least 0.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "clicks": [
      {
        "campaign_id": "example",
        "click_id": "example",
        "clickref": "example",
        "country": "example",
        "last_used": "example",
        "publisher_id": "example",
        "publisher_name": "example",
        "referer": "example",
        "set_time": "example",
        "status": "example"
      }
    ],
    "count": 1,
    "limit": 1
  }
}

List conversions

List a campaign's conversions (sales and leads) over a period, with their value, commission and status. A page holds 300.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Fromstartdate and timeRequired
The start of the period, in UTC.
Toenddate and time
The end of the period, in UTC. Leave empty for now.
Statusesstatuseslist
Only conversions with these statuses.One or more of: approved, pending, rejected.
Period bydate_typetext
Which date the period applies to. Leave empty for when the conversion happened.One of: last_modified (Last changed), approved_at (Approved).
Skipoffsetnumber
How many to skip, for paging. A page holds 300.At least 0.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "conversions": [
      {
        "advertiser_reference": "example",
        "campaign_id": "example",
        "conversion_id": "example",
        "conversion_reference": "example",
        "conversion_time": "example",
        "conversion_value": {
          "commission": 1,
          "conversion_status": "example",
          "publisher_commission": 1,
          "value": 1
        },
        "country": "example",
        "currency": "example",
        "customer_reference": "example",
        "last_modified": "example",
        "publisher_id": "example",
        "publisher_name": "example"
      }
    ],
    "count": 1,
    "limit": 1
  }
}

List deals

List a campaign's deals: offers and coupons partners can promote.

Inputs

Campaigncampaign_idtextRequired
The campaign.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "campaign_deals": [
      {
        "active": "example",
        "campaign_deal_id": "example",
        "category": "example",
        "country_iso": "example",
        "coupon_code": "example",
        "created_at": "example",
        "description": "example",
        "destination": "example",
        "end_date_time": "example",
        "offer_type": "example",
        "offer_value": "example",
        "start_date_time": "example",
        "terms": "example",
        "title": "example",
        "updated_at": "example"
      }
    ]
  }
}

List invoices

List a brand's invoices with their totals and status.

Inputs

Brandbrand_idtextRequired
The brand.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "invoices": [
      {
        "campaign_id": "example",
        "creation_date": "example",
        "currency": "example",
        "invoice_id": "example",
        "invoice_net_value": 1,
        "invoice_reference": "example",
        "invoice_total_value": 1,
        "payment_date": "example",
        "payment_due_by_date": "example",
        "publisher_commission": 1,
        "status": "example"
      }
    ]
  }
}

List partner groups

List a campaign's partner (commission) groups and the partners in each.

Inputs

Campaigncampaign_idtextRequired
The campaign.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "commission_groups": [
      {
        "active": "example",
        "commission_group_id": "example",
        "description": "example",
        "end_date_time": "example",
        "name": "example",
        "publishers": [
          "example"
        ],
        "start_date_time": "example"
      }
    ]
  }
}

List transaction queries

List partners' claims for sales that weren't tracked on a campaign.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Statestatetext
Only queries in this state.One of: pending, approved, rejected.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "count": 1,
    "transaction_queries": [
      {
        "actions_available": [
          "example"
        ],
        "campaign_id": "example",
        "conversion_currency": "example",
        "conversion_date_time": "example",
        "conversion_id": "example",
        "conversion_reference": "example",
        "conversion_value": 1,
        "created_at": "example",
        "current_state": "example",
        "expected_commission": 1,
        "notes": "example",
        "publisher_id": "example",
        "publisher_reference": "example",
        "transaction_query_id": "example"
      }
    ]
  }
}

List voucher codes

List a campaign's voucher codes.

Inputs

Campaigncampaign_idtextRequired
The campaign.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "voucher_codes": [
      {
        "active": "example",
        "campaign_id": "example",
        "commission_groups": [
          "example"
        ],
        "description": "example",
        "end_date_time": "example",
        "start_date_time": "example",
        "voucher_code": "example",
        "voucher_code_id": "example"
      }
    ]
  }
}

Reject a transaction query

Reject a pending transaction query, with the reason.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Transaction querytransaction_query_idtextRequired
The transaction query: a partner's claim for a sale that wasn't tracked.
ReasonreasontextRequired
Why it is rejected.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "actions_available": [
      "example"
    ],
    "campaign_id": "example",
    "conversion_currency": "example",
    "conversion_date_time": "example",
    "conversion_id": "example",
    "conversion_reference": "example",
    "conversion_value": 1,
    "created_at": "example",
    "current_state": "example",
    "expected_commission": 1,
    "notes": "example",
    "publisher_id": "example",
    "publisher_reference": "example",
    "transaction_query_id": "example"
  }
}

Update a deal

Change a deal. Only the fields filled in change.

Inputs

Campaigncampaign_idtextRequired
The campaign.
Dealdeal_idtextRequired
The deal.
Titletitletext
The deal's title.
Descriptiondescriptiontext
What the deal offers.
Typeoffer_typetext
The kind of deal.One of: coupon, offer, sale.
Valueoffer_valuetext
What the deal is worth, such as `40% off`.
Coupon codecoupon_codetext
The coupon code for the deal.
Destination URLdestinationtext
The page the deal links to.
Startsstartdate and time
When the deal starts.
Endsenddate and time
When the deal ends.
Termstermstext
The deal's terms.

Outputs

dataobject
The response from Partnerize.
Example output
{
  "data": {
    "active": "example",
    "campaign_deal_id": "example",
    "category": "example",
    "country_iso": "example",
    "coupon_code": "example",
    "created_at": "example",
    "description": "example",
    "destination": "example",
    "end_date_time": "example",
    "offer_type": "example",
    "offer_value": "example",
    "start_date_time": "example",
    "terms": "example",
    "title": "example",
    "updated_at": "example"
  }
}

On this page