file-importRecommended API Flow

Please follow these directions if you are not using the CheckoutChamp website builder.

Full API Documentation: https://apidocs.checkoutchamp.com/?version=latestarrow-up-right

circle-check

It is not necessary to use every page listed below. However, the pages that you do use should contain the API calls listed within that section to give you the most data within your CheckoutChamp instance.

Presell Page

1. Call Import Clickarrow-up-right

  • pageType=presellPage

  • userAgent=User Agent Header, used for reporting on browser and device type

  • requestUri=The URL that the user requested when they landed on the page (Ex. https://mylander.com/nutra/?affId=AF54B33412&c1=fb&c2=5000234arrow-up-right)

    • use affId to grant affiliate credit

    • Url encode this value to prevent breakage from passing the ampersand

  • httpReferer (optional, for use with UTM filters) = The URL of the previous webpage from which a link to the currently requested page was followed.

    • may be the same value as requestUri. httpReferer must include the UTM code(s)

Lead Page

1. Call Import Clickarrow-up-right - pageType=leadPage - send sessionId returned from first Import Click call if not first call*

2. Call Import Leadarrow-up-right - partial can be created as soon as you have firstName, lastName, emailAddress or phoneNumber (campaignId and API credentials will also need to be sent) - Send sessionId parameter returned from Import Click to link order to session You can continually call Import Lead as the customer fills their information into your forms - send orderId parameter returned from the first Import Lead call

Checkout Page

1. Call Import Clickarrow-up-right - pageType=checkoutPage - send sessionId returned from first Import Click call if not first call*

2. You can call Import Leadarrow-up-right again if updating/expanding partial information

3. Call Import Orderarrow-up-right - send orderId parameter if already exists and sessionId

Upsell Pages 1+

1. Call Import Clickarrow-up-right - pageType=upsellPage1-4 - send sessionId returned from first Import Click call

2. Call Import Upsalearrow-up-right - include orderId and sessionId

Repeat each step for each upsell page

Thank you Page

Either:

Call Import Clickarrow-up-right - pageType=thankyouPage - send sessionId returned from first Import Click call

Or:

Call Confirm Orderarrow-up-right (optional) to send Order Confirmation Email Immediately


Flowchart

Click the PDF below for an interactive flowchart to aid in explaining which API Calls should be made on each page of your funnel.


API Descriptions

Import Clickarrow-up-right - https://api.checkoutchamp.com/landers/clicks/import/arrow-up-right

The CheckoutChamp Import Click API allows you to track visits to your landing pages in the CRM Reporting.

circle-info

On the first Import Click call you must pass requestUri (the full url of the current page). Upon a successful call, the API will return a sessionId. This sessionId must be sent on subsequent API calls in that session to tie the click to the partial order or complete order that is placed.


Import Leadarrow-up-right - https://api.checkoutchamp.com/leads/import/arrow-up-right

The CheckoutChamp Import Lead API allows you to add new leads to the CRM.


Import Orderarrow-up-right - https://api.checkoutchamp.com/order/import/arrow-up-right

The CheckoutChamp Import Order API allows you to create new orders.


Confirm Paypalarrow-up-right - https://api.checkoutchamp.com/transactions/confirmPaypalarrow-up-right

The Confirm Paypal API allows you to complete orders on your pages using the Paypal Express Checkout button.


Import Upsalearrow-up-right - https://api.checkoutchamp.com/upsale/import/arrow-up-right

The CheckoutChamp Import Upsale API allows you to add one-click upsales to existing orders.


Confirm Orderarrow-up-right - https://api.checkoutchamp.com/order/confirm/arrow-up-right

The CheckoutChamp Confirm Order API will immediately send confirmation auto responder emails to the customer.


Last updated