1.0.5 • Published 9 years ago
shopify-promise-2 v1.0.5
Shopify Promise 2
A smooth Shopify API wrapper using axios / promises and features rate-limiting.
Install
npm install shopify-promise-2Usage
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()