Order Push Import
If your shopping cart isn't one that Teapplix supports, and you'd like to build custom integration so orders flow into Teapplix, you have a number of alternatives. This article describes how you can send orders to Teapplix using HTTP POST.
With this method, you can push orders into your Teapplix account in near real time in an automated fashion. Your shopping cart can be written via any programming language.
The downside of this method is that information flows one way. Orders go from shopping cart to Teapplix. Tracking information isn't provided back to your shopping cart.
The URL to post to is:
https://app.teapplix.com/h/[your teapplix account name here]/te/pin.cgi
The content of the post is below:
(please do not just click on the link or do a HTTP GET, you will get a HTTP 404 error if your signature
passed in the post do not match the one you typed into Teapplix Setup => PayPal page).
signature=[some secret you entered into your Teapplix Setup-> PayPal page]
deliver_to_company=Testing Software, Inc.
deliver_to_address=8970 Super DR SE
deliver_to_country=[United States|Canada|Full name of other countries]
tax_amount=0.00 (sales tax)
shipping_amount=3.00 (buyer paid shipping amount)
shipping_method=[Standard, Expedited, SecondDay, One-Day, Economy] (shipping class)
ship_method=[optional, must match exact Teapplix ship method string if specified， here is a full list of the Teapplix ship methods for US Shipping Carrier , and All Shipping Carrier ]
ship_weight=[optional, in ounce, like 12.6]
memo=[some notes on the order]
[the following info repeats per number of items]
id_1=item name in Teapplix
describe_1=item description in Teapplix
The value of "signature" parameter is obtained this way:
1) Go to your Teapplix account, on Setup => PayPal page, if any of the lines with primary email address is not blank, use the primary email address as "signature" value
2) If all lines are blank, put in a random secret string in the first line, and click on "save primary email address". Then use that string as signature value.
An example of doing order push API using "curl" is following:
curl -s -k -d firstname.lastname@example.org' -d pin_type='generic' -d param='value' https://app.teapplix.com/h//te/pin.cgi