We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ThreeDeeCart::Customer.update_inventory(options)
Bold parameters are required:
storeURL - 3dCart Store URL from which the information will be requested. i.e.: www.3dcart.com
productId - String Search for specific product id.
quantity - Number Stock quantity for the specified product.
replaceStock - Boolean Indicates if the stock should be replaced or incremented by the new quantity.
ThreeDeeCart::Customer.update_inventory({storeURL: "http://www.3dcart.com", productId: "a12345", quantity: 10, replaceStock: false})