Simple integration with the Shopify API. Shopify is a leading eCommerce solution. Using this module requires a Shopify store of your own.

Drupal 7

Dependencies

  • Libraries API
  • Shopify API library (see installation instructions)

Installation

  1. Download the Shopify API library from https://github.com/cmcdonaldca/ohShopify.php. Add it to your libraries directory (ie, sites/all/libraries/shopify).
  2. Download and install this module.
  3. Navigate to the admin settings page at admin/config/services/shopify.
  4. Follow the help instructions to connect Drupal to your Shopify store.

Usage

$client = shopify_api_client();
$products = $client->call('GET', '/admin/products.json', array('limit' => 100, 'page' => 2));

Drupal 8

This module was ported to the Drupal 8 version of the Shopify module in #3131805: Incorporate shopify_api module.

Notes

This module provides no user interface other than the admin configuration form. It is intended for developers.

For a full Shopify integration, check out the Shopify module, which uses this module.

Project information

Releases