1.0.5 • Published 8 years ago

shopify-promise-2 v1.0.5

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

Shopify Promise 2

A smooth Shopify API wrapper using axios / promises and features rate-limiting.

Install

npm install shopify-promise-2

Usage

shopify.get('shop').then(({shop}) => {
  assert.equal(shop.myshopify_domain, SHOPIFY_SHOP)
})

Methods

shopify.get('shop') // gets object
shopify.getAll('orders') // gets all objects (even if more than 250)
shopify.getWithMetafields('product/123567') // gets object with metafields
shopify.put()
shopify.delete()
shopify.head()
shopify.post()
shopify.patch()
1.0.5

8 years ago

1.0.4

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago