shopify-promise-2

1.0.5 • Public • Published

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()

Package Sidebar

Install

npm i shopify-promise-2

Weekly Downloads

0

Version

1.0.5

License

ISC

Last publish

Collaborators

  • reggi