REST API workflow
Is using wemalos rest api, at least the following calls might be used for interacting with wemalo.
First of all, an account needs to be set up for you. You’ll get a rest api token that is being used for authorization. Please see header information: Authorization
Product master data
- For transmitting product master data, we recommend sending multiple products at once if possible by using http://connect-api.wemalo.com/#api-Product-addMultiple.
- Get stock updates by webhook stock_change (http://connect-api.wemalo.com/#api-WebHook-registerWebHook).
Orders
- Transmit new orders with following call: http://connect-api.wemalo.com/#api-GoodsOrder-addGoodsOrder. If the wemalo internal id was returned, you know the order was created successfully.
- Get order update by webhook status_update (http://connect-api.wemalo.com/#api-WebHook-registerWebHook).
- Get sent packages by flag: http://connect-api.wemalo.com/#api-GoodsOrder-getSentPackagesByFlag. It will return all sent packages, that have not been marked as synchronized yet.
- Set loaded sent packages as synchronized: http://connect-api.wemalo.com/#api-GoodsOrder-putSentPackagesFlag.