Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shopify-api-node

Package Overview
Dependencies
Maintainers
3
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shopify-api-node - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

package.json
{
"name": "shopify-api-node",
"version": "2.0.0",
"version": "2.1.0",
"description": "Shopify API bindings for Node.js",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -208,2 +208,3 @@ # shopify-api-node

- `list(orderId[, params])`
- `open(orderId, id)`
- `update(orderId, id, params)`

@@ -210,0 +211,0 @@ - fulfillmentEvent

@@ -40,2 +40,16 @@ 'use strict';

/**
* Opens a pending fulfillment.
*
* @param {Number} orderId Order ID
* @param {Number} id Fulfillment id
* @return {Promise} Promise that resolves with the result
* @public
*/
Fulfillment.prototype.open = function open(orderId, id) {
const url = this.buildUrl(orderId, `${id}/open`);
return this.shopify.request(url, 'POST', undefined, {})
.then(body => body[this.key]);
};
/**
* Cancels a pending fulfillment.

@@ -42,0 +56,0 @@ *

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc