Closed aceven24 closed 4 years ago
looks good. i will apply couple tweaks and add release notes and merge to master shortly.. for now, i will merge to new branch on our repo so that i can add changes before merge to master..
merged to master. changes should be included in package version 0.10.73 which should be built shortly via CI
couple tweaks I added on top of your changes could be found in this commit - https://github.com/marketvision/ShipStation4Net/commit/dce9c5c81a8072e20feca1ec4ec656c177c740ba
i switched implementation of GetResourceResponsesAsync to use GetAllPagesAsync with resourceUrl for both clients - orders & shipments
I also tested my changes against shipstation account & verified that methods still work for all 4 webhook types.
… resourceURL/callback pattern to actually get the webhook data opposed to having it in payload
https://help.shipstation.com/hc/en-us/articles/360025856252-ShipStation-Webhooks
I couldn't really come up with tests as ShipStation doesn't provide sample payloads, but according to their documentation it mimics the ListOrders and ListShipments.