User Tools

Site Tools


udropship:umarketplace:m2:rma-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:rma-api [2022/04/26 07:11]
wtsergo [Delete tracking number from uReturn]
udropship:umarketplace:m2:rma-api [2022/04/26 07:18] (current)
wtsergo [Create RMA]
Line 33: Line 33:
   - [[https://unirgy.com/wiki/udropship/umarketplace/m2/vendor-api#get_list_of_vendor_purchase_orders_possible_to_filter]]   - [[https://unirgy.com/wiki/udropship/umarketplace/m2/vendor-api#get_list_of_vendor_purchase_orders_possible_to_filter]]
  
-Once it's done and you have all required entity IDs you are ready to create RMA.+Once it's done and you have all required entity IDs you are ready to create RMA. Request payload expect ''data'' param to be json encoded array that match //\Unirgy\RmaApi\Api\Data\CreateRmaRequestInterface// interface. It's inner ''items'' param should be json encoded array that match //\Unirgy\RmaApi\Api\Data\CreateRmaItemInterface// interface.
  
 '' ''
Line 39: Line 39:
 '' ''
 <code> <code>
-POST  http://magento241.loc/rest//V1/urma/create+POST  http://magento.loc/rest//V1/urma/create
 { {
     "data": {     "data": {
Line 71: Line 71:
 '' ''
 <code> <code>
-GET http://magento241.loc/rest/V1/urmas?searchCriteria[filter_groups][0][filters][0][field]=created_at&searchCriteria[filter_groups][0][filters][0][value]=2022-01-01+00:00:00&searchCriteria[filter_groups][0][filters][0][condition_type]=gt+GET http://magento.loc/rest/V1/urmas?searchCriteria[filter_groups][0][filters][0][field]=created_at&searchCriteria[filter_groups][0][filters][0][value]=2022-01-01+00:00:00&searchCriteria[filter_groups][0][filters][0][condition_type]=gt
 </code> </code>
 '' ''
Line 352: Line 352:
 '' ''
 <code> <code>
-GET http://magento241.loc/rest/V1/urma/000000011+GET http://magento.loc/rest/V1/urma/000000011
 </code> </code>
 '' ''
Line 415: Line 415:
 '' ''
 <code> <code>
-POST  http://magento241.loc/index.php/rest/V1/urma/000000011/addComment+POST  http://magento.loc/index.php/rest/V1/urma/000000011/addComment
 { {
     "data": {     "data": {
Line 441: Line 441:
 '' ''
 <code> <code>
-GET http://magento241.loc/index.php/rest/V1/urma/000000011/comments+GET http://magento.loc/index.php/rest/V1/urma/000000011/comments
 </code> </code>
 '' ''
Line 493: Line 493:
 '' ''
 <code> <code>
-POST http://magento241.loc/index.php/rest/V1/urma/000000011/addTrack+POST http://magento.loc/index.php/rest/V1/urma/000000011/addTrack
 {"carrier":"ups","title":"UPS","trackNumber":"UPS12345"} {"carrier":"ups","title":"UPS","trackNumber":"UPS12345"}
 </code> </code>
Line 509: Line 509:
 '' ''
 <code> <code>
-POST http://magento241.loc/index.php/rest/V1/urma/000000011/deleteTrack/UPS12345+POST http://magento.loc/index.php/rest/V1/urma/000000011/deleteTrack/UPS12345
 </code> </code>
 '' ''
udropship/umarketplace/m2/rma-api.1650957060.txt.gz · by wtsergo