Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
udropship:umarketplace:m2:vendor-api [2022/04/26 06:37] wtsergo [Get list of Vendor Purchase Orders (possible to filter)] |
udropship:umarketplace:m2:vendor-api [2022/04/26 07:11] wtsergo |
'' | '' |
<code> | <code> |
GET http://magento222.loc/index.php/rest/V1/udpo/000000012-1 | GET http://magento.loc/index.php/rest/V1/udpo/000000012-1 |
</code> | </code> |
'' | '' |
'' | '' |
<code> | <code> |
GET http://magento222.loc/index.php/rest/V1/udpo/000000012-1/comments | GET http://magento.loc/index.php/rest/V1/udpo/000000012-1/comments |
</code> | </code> |
'' | '' |
'' | '' |
Example:\\ | Example:\\ |
POST http://magento222.loc/index.php/rest/V1/udpo/000000012-1/addComment\\ | POST http://magento.loc/index.php/rest/V1/udpo/000000012-1/addComment\\ |
{"comment":"Test API Comment","status":9}\\ | {"comment":"Test API Comment","status":9}\\ |
\\ | \\ |
'' | '' |
Example:\\ | Example:\\ |
POST http://magento222.loc/index.php/rest/V1/udpo/000000012-1/addTrack\\ | POST http://magento.loc/index.php/rest/V1/udpo/000000012-1/addTrack\\ |
{"carrier":"ups","title":"UPS","trackNumber":"UPS12345"}\\ | {"carrier":"ups","title":"UPS","trackNumber":"UPS12345"}\\ |
\\ | \\ |
'' | '' |
Example:\\ | Example:\\ |
POST http://magento222.loc/index.php/rest/V1/udpo/000000012-1/deleteTrack/UPS12345\\ | POST http://magento.loc/index.php/rest/V1/udpo/000000012-1/deleteTrack/UPS12345\\ |
[]\\ | []\\ |
\\ | \\ |
'' | '' |
Example:\\ | Example:\\ |
POST http://magento222.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"}]}\\ |
\\ | \\ |
"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\")" |
'' | '' |
| |
| |
| |
| |
| |