Update

Allows you to update existing stock item data.

Parameters - Enter only those parameters which you want to update.

NameDescriptionTypeExample Value
item_idItem IDint1
product_idProduct IDint1
stock_idStock IDint1
qtyQuantity of stock items for the current productintfloat
min_qtyQuantity for stock items to become out of stockintfloat
use_config_min_qtyChoose whether the Config settings will be applied for the Qty for Item's Status to Become Out of Stock optionint1
is_qty_decimalChoose whether the product can be sold using decimals (e.g., you can buy 2.5 product)int0
backordersThe customer can place the order for products that are out of stock at the moment (0 - No Backorders, 1 - Allow Qty Below 0, and 2 - Allow Qty Below 0 and Notify Customer)int0
use_config_backordersChoose whether the Config settings will be applied for the Backorders optionint1
min_sale_qtyMinimum number of items in the shopping cart to be soldintfloat
use_config_min_sale_qtyChoose whether the Config settings will be applied for the Minimum Qty Allowed in Shopping Cart optionint0
max_sale_qtyMaximum number of items in the shopping cart to be soldintfloat
use_config_max_sale_qtyChoose whether the Config settings will be applied for the Maximum Qty Allowed in Shopping Cart optionint0
is_in_stockDefines whether the product is available for selling (0 - Out of Stock, 1 - In Stock)int1
low_stock_dateDate when the number of stock items became lower than the number defined in the Notify for Quantity Below optionstring2020-02-14 12:37:51
notify_stock_qtyThe number of inventory items below which the customer will be notified via the RSS feedintfloat
use_config_notify_stock_qtyChoose whether the Config settings will be applied for the Notify for Quantity Below optionint0
manage_stockChoose whether to view and specify the product quantity and availability and whether the product is in stock management( 0 - No, 1 - Yes)int0
use_config_manage_stockChoose whether the Config settings will be applied for the Manage Stock optionint1
stock_status_changed_autoDefines whether products can be automatically returned to stock when the refund for an order is createdint0
use_config_qty_incrementsChoose whether the Config settings will be applied for the Enable Qty Increments optionint1
qty_incrementsThe product quantity increment valueintfloat
use_config_enable_qty_incChoose whether the Config settings will be applied for the Qty Increments optionint1
enable_qty_incrementsDefines whether the customer can add products only in increments to the shopping cartint0
is_decimal_dividedDefines whether the stock items can be divided into multiple boxes for shippingint0
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
integer
integer
Response
200

OK (no example documented yet)

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!