User Tools

Site Tools


udropship:umarketplace:m2:vendor-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
udropship:umarketplace:m2:vendor-api [2018/03/12 15:42]
wtsergo
udropship:umarketplace:m2:vendor-api [2018/03/12 15:44]
wtsergo
Line 125: Line 125:
 But only **sku** or **vendor_sku** are required. When not using multivendor add-on it's possible to use only this keys in offer details array **sku**, **vendor_sku**, **stock_qty**, **stock_qty_add** But only **sku** or **vendor_sku** are required. When not using multivendor add-on it's possible to use only this keys in offer details array **sku**, **vendor_sku**, **stock_qty**, **stock_qty_add**
  
 +Response of API call will contain string information of how many items were updated and errors list at the end if any.
 +
 +''
 +Example:\\
 +POST  http://magento222.loc/index.php/rest/V1/udstock/update/\\
 +{"items":[{"sku":"24-MB01","vendor_sku":"v2-24-MB01","stock_qty":"11"},{"vendor_sku":"v2-24-MB04","stock_qty":"22"},{"vendor_sku":"not-existing-vendor-sku","stock_qty":"22"},{"sku":"not-existing-sku","vendor_sku":"not-existing-vendor-sku","stock_qty":"22"}]}\\
 +\\
 +RESPONSE\\
 +"Updated 2 items of 4: (Product not found for vendor sku \"not-existing-vendor-sku\", Product not found for sku \"not-existing-sku\")"
 +''
  
  
udropship/umarketplace/m2/vendor-api.txt · by wtsergo