ShopSite is a versatile shopping cart with many built-in features that can be customized for your requirements. But sometimes you need more functionality and ShopSite knew that you might. They included APIs so you can use custom programming to expand and enhance your cart.
API is an acronym for “Application Programming Interface.” Simply put, it’s a socket where your custom program can plug in to exchange data. Data is sent to the program and in some cases the program sends information back.
Order API
An Order API connects after the order is complete (i.e. payment has been approved). It receives all of the order data, but it can’t return data (i.e. it can’t modify the order in ShopSite). For example, Order APIs can be used to send order data to fulfillment services and shipping services (e.g. to create a shipment) or to update an external database.
Shipping API
ShopSite has built-in support for real-time quotes from UPS, FedEx and USPS, as well as calculations based simply on weight or order amount. If you need more complex calculations (e.g. shipping rate quotes from multiple origin zip codes) or you need rate quotes from a different carrier (e.g. a freight carrier) then you need a Shipping API to calculate shipping quotes. The Shipping API receives the cart data and destination zip code from ShopSite when the items in the cart change and it returns a list of shipping rate choices that ShopSite displays to the shopper.
Inventory API
ShopSite has built-in support for monitoring inventory quantity on-hand, preventing sales of out-of-stock items and sending low-threshold notifications so that you can replenish. If your cart inventory needs to be synced with an outside source because you carry inventory or sell in more than one location, you can use an Inventory API to connect with the outside source. The Inventory API receives item data from ShopSite when an item is added to the cart and during checkout. It returns quantity-on-hand data and can also return an alternate SKU for an item.
Sales Tax API
The Sales Tax API gives you more control over sales tax calculations. ShopSite’s built-in sales tax feature can select the sales tax rate based on zip code, VAT/GST, or based on a shopper-selected tax rate. It can include shipping and/or handling charges in the tax calculation. However, if you have to calculate sales tax on different combinations of product, shipping and handling based on the destination, or have to calculate sales tax on data other than the destination zip code, you need a Sales Tax API. The API receives cart data whenever the cart contents change as well as during checkout, and it returns a sales tax amount.
@stuff is a Certified ShopSite Designer. We develop APIs that are customized for your store and requirements. Contact me if you have questions about custom development for your store.
If you’d like to receive regular technology updates from The View From Under the Hat, subscribe via RSS or email.
