Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
udropship:umarketplace:vendor-api [2018/03/19 10:24] wtsergo |
udropship:umarketplace:vendor-api [2018/03/20 19:16] renata |
===== Introduction ===== | ===== Introduction ===== |
| |
This add-on extend magento Soap API and allow vendors utilize it to pull/update Purchase Orders information and update inventory data. | The Vendor API add-on extends Magento Soap API and allow vendors to utilize it to pull/update Purchase Orders information and update inventory data. |
To get more technical details check: | To get more technical details check:\\ |
- //app\code\community\Unirgy\DropshipApi\etc\wsdl.xml/ - API wsdl definition | - //app\code\community\Unirgy\DropshipApi\etc\wsdl.xml/ - API wsdl definition\\ |
- //app\code\community\Unirgy\DropshipApi\etc\acl.xml/ - API acl definition | - //app\code\community\Unirgy\DropshipApi\etc\acl.xml/ - API acl definition |
| |
===== Authentication ===== | ===== Authentication ===== |
| |
In order to perform API operations vendor need authentication. System use authentication by vendor email/apiKey. Before doing actual API calls vendor need to get authentication token by doing **login** soap call with ''username'', ''api key'' parameters. Response of that POST will be 32 bit token that need to be used for further API calls in sessionId request parameter to prove vendor identity. More information you can get here [[http://devdocs.magento.com/guides/m1x/api/soap/introduction.html]] | In order to perform API operations vendor need authentication. System use authentication by vendor email/apiKey. Before performing an actual API calls, vendor need to get authentication token by **login** soap call with ''username'', ''api key'' parameters. Response of that POST will be 32 bit token that need to be used for further API calls in sessionId request parameter to prove vendor identity. More information you can get here [[http://devdocs.magento.com/guides/m1x/api/soap/introduction.html]] |
| |
'' | '' |
===== Get list of Vendor Purchase Orders (possible to filter) ===== | ===== Get list of Vendor Purchase Orders (possible to filter) ===== |
| |
In order to get list of Purchase Orders need to perform salesOrderUdpoList API call. It expect ''filter'' or ''complex_filter'' as parameter. More details on how to construct such filter check [[http://devdocs.magento.com/guides/m1x/api/soap/sales/salesOrderShipment/sales_order_shipment.list.html]] | In order to get list of Purchase Orders, salesOrderUdpoList API call will have to be performed. It expect ''filter'' or ''complex_filter'' as parameter. More details on how to construct such filter check [[http://devdocs.magento.com/guides/m1x/api/soap/sales/salesOrderShipment/sales_order_shipment.list.html]] |
| |
'' | '' |
===== Get Single Purchase Order Info ===== | ===== Get Single Purchase Order Info ===== |
| |
In order to get single Purchase Order information need to perform **salesOrderUdpoInfo** API call. Parameter could be either Purchase Order entity id or it's increment id. | In order to get single Purchase Order information, **salesOrderUdpoInfo** API call will have to be performed. Parameter could be either Purchase Order entity id or it's increment id. |
| |
'' | '' |