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 06:37]
wtsergo [Get list of Vendor Purchase Orders (possible to filter)]
udropship:umarketplace:m2:vendor-api [2022/04/26 07:14] (current)
wtsergo [Perform Inventory update]
Line 353: Line 353:
 '' ''
 <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>
 '' ''
Line 435: Line 435:
 '' ''
 <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>
 '' ''
Line 490: Line 490:
 '' ''
 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}\\
 \\ \\
Line 503: Line 503:
 '' ''
 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"}\\
 \\ \\
Line 516: Line 516:
 '' ''
 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\\
 []\\ []\\
 \\ \\
Line 550: Line 550:
  
 '' ''
-Example:\\ +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\")"+
 '' ''
- +<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.1650955077.txt.gz · by wtsergo