producteca-sdk
Advanced tools
Comparing version 7.6.0 to 7.6.1
@@ -98,6 +98,13 @@ (function() { | ||
ProductsApi.prototype.createVariations = function(productId, variations, opts) { | ||
var url; | ||
ProductsApi.prototype.createVariations = function(productId, variations, appId) { | ||
var headers, url; | ||
url = "/products/" + productId + "/variations"; | ||
return this.client.postAsync(url, variations, opts); | ||
if (appId) { | ||
headers = { | ||
"x-app-id": appId | ||
}; | ||
} | ||
return this.client.postAsync(url, variations, { | ||
headers: headers | ||
}); | ||
}; | ||
@@ -104,0 +111,0 @@ |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "7.6.0", | ||
"version": "7.6.1", | ||
"main": "build/sdk.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
68779
852