udropship:umarketplace:m2:vendor-api
Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
udropship:umarketplace:m2:vendor-api [2022/04/26 07:11] wtsergo |
udropship:umarketplace:m2:vendor-api [2022/04/26 07:13] wtsergo [Perform Inventory update] |
| |
'' | '' |
Example:\\ | Example: |
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"}]}\\ | |
\\ | |
RESPONSE\\ | |
"Updated 2 items of 4: (Product not found for vendor sku \"not-existing-vendor-sku\", Product not found for sku \"not-existing-sku\")" | |
'' | '' |
| <code> |
| 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"}]} |
| </code> |
| '' |
| RESPONSE |
| '' |
| <code> |
| "Updated 2 items of 4: (Product not found for vendor sku \"not-existing-vendor-sku\", Product not found for sku \"not-existing-sku\")" |
| </code> |
| |
udropship/umarketplace/m2/vendor-api.txt · by wtsergo