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
Previous revision
udropship:umarketplace:m2:vendor-api [2022/04/26 07:13]
wtsergo [Perform Inventory update]
udropship:umarketplace:m2:vendor-api [2022/04/26 07:14] (current)
wtsergo [Perform Inventory update]
Line 554: Line 554:
 <code> <code>
 POST  http://magento.loc/index.php/rest/V1/udstock/update/ POST  http://magento.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"}]}+{ 
 +    "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" 
 +        } 
 +    ] 
 +}
 </code> </code>
 '' ''
Line 560: Line 581:
 '' ''
 <code> <code>
-"Updated 2 items of 4: (Product not found for vendor sku \"not-existing-vendor-sku\", Product not found for sku \"not-existing-sku\")"+"Updated 2 items of 4: (Product not found for vendor sku "not-existing-vendor-sku", Product not found for sku "not-existing-sku")"
 </code> </code>
  
udropship/umarketplace/m2/vendor-api.1650957199.txt.gz · by wtsergo