Shopping Cart

Table of Contents

Overview

You like cleanliness don't you? We do too. That's the main purpose of the shopping cart. Say you order 1000 numbers. With other providers, you get an invoice for every single one of those if you order through the API (some even if you don't). With us, we think it's worth one extra http call to get all of those into a single invoice. Plus, it allows you to provide that functionality, very easily, to your customers. So win / win, right?

Functions

/get

Full Url: https://apiv1.teleapi.net/cart/get

Arguments:

Info: See what's in your cart. Simple as that.

/item/remove

Full Url: https://apiv1.teleapi.net/cart/item/remove

Arguments:

Info: Removes an item from your shopping cart. Use /cart/get to get the item id

/empty

Full Url: https://apiv1.teleapi.net/cart/empty

Arguments:

Info: This will completely empty your cart -- nothing left. Use it as a quick function to start over.

/checkout

Full Url: https://apiv1.teleapi.net/cart/checkout

Arguments:

Info: This is where the money happens. You get charged for nothing in your cart until you run this command. Granted, you also won't get use out of anything in your cart until then either. But still..