These docs are for v1.1. Click to read the latest docs for v1.2.

Be sure to read the Quick Start section first.

Introduction

ShippingEasy provides a cloud-based shipping solution that allows its customers to easily consolidate orders from multiple storefronts (amazon, eBay, Bigcommerce, Shopify, Volusion, WooCommerce, Storenvy, GREAT.LY, Newegg, etc.) in order to create shipping labels from a variety of carriers (USPS, UPS, FedEx, etc.). Overview here: https://www.youtube.com/watch?v=ERu4VFwZaP8

ShippingEasy has invested significant effort in building integrations to a variety of selling platforms, shopping carts, and marketplaces. For platforms/carts/marketplaces that provide an API, we can easily build an integration. For shopping carts that do not provide an API, it is necessary to build a plugin for that specific shopping cart. The plugin uses the Customer API provided by the ShippingEasy server to send data to ShippingEasy.

Most of the shopping carts that do not provide an externally accessible API are implemented in PHP. To facilitate creating PHP plugins that use the ShippingEasy Customer API, we have built a PHP library for our API: https://github.com/ShippingEasy/shipping_easy-php.

Integration

Integrating an ecommerce shopping cart with ShippingEasy requires handling four primary activities:

  1. Sending newly created orders to ShippingEasy automatically, at the end of the order creation process. Typically there are one or more order status “types” that should be sent automatically and all others should not be sent automatically - selection of the types is done via a customer specified option.

  2. Sending orders selected by the customer to ShippingEasy. For orders that were not sent automatically, if a subsequent status change qualifies the order for shipping, the customer needs the ability to select and then send that order to ShippingEasy.

  3. Cancelling orders that were previously sent to ShippingEasy. For some carts this can be done automatically based on a status change - for others, a specific user interface control is needed.

  4. Processing a callback from the ShippingEasy server that contains shipment information for an order: specific items that were shipped, carrier used, tracking number, and shipment cost. The order is updated in the cart with the information.

Configuration

All ShippingEasy ecommerce plugins will require configuration settings for these four values: Customer API key, Customer API secret, ShippingEasy URL, and Store API key.

Additional configuration options will depend on the specific requirements of the shopping cart. Most will probably need options for controlling the status value an order must have before it is sent automatically at creation to ShippingEasy.

Installation

The installation and upgrade requirements vary considerably by shopping cart. Some offer plugin marketplaces and have corresponding requirements for being listed on that marketplace (coding standards, packaging formats, etc). Others offer only crude administrative tools for “adding” a plugin to a customer’s installation via the local file system.

Upgrade facilities also vary widely. Some of the carts that provide a plugin marketplace also offer APIs that can be used to alert the customer that a new version is available and even to do an in-place upgrade of the plugin.

Troubleshooting

A key requirement is the logging of activity by the plugin: attempts to send orders, attempts to cancel orders, and attempts to process a callback from the ShippingEasy server. The ecommerce plugin must make this information readily available via its user interface to the ShippingEasy support team to facilitate troubleshooting problems with the customer’s environment.

Store Setup

As described in the the Quick Start, create a ShippingEasy API store.

Note that creating a "ShippingEasy API" type store is something that only you will do during initial testing of your ecommerce plugin. For partners who have contracted with ShippingEasy to deliver a plugin for a specific ecommerce platform, send a high resolution logo to [email protected] and we will create a new entry in our list of store types that has your branding.

Behind the scenes - it will still be a ShippingEasy API store, but it provides a better customer experience to have it branded. To see an example, take a look at our GREAT.LY store; we will create similar documentation for any store where ShippingEasy has agreed with a third party to support an ecommerce plugin: https://shippingeasy.zendesk.com/entries/65268927-Using-ShippingEasy-with-GREAT-LY

The key enabling piece is the usage of API key values - there are three. Two for the customer ShippingEasy account and one for the specific store within the account - the GREAT.LY documentation shows how this works and you will see references to the API key values in our PHP and Ruby docs.