medusa icon indicating copy to clipboard operation
medusa copied to clipboard

bug(medusa-fulfillment-webshipper): shipping rates are limited to 30 rates

Open srindom opened this issue 3 years ago • 1 comments

The Webshipper plugin's implementation of getFulfillmentOptions only returns 30 rates. This is problematic if the user has more than 30 rates.

The method should be updated to check if there are more rates to request and then paginate.

It may make sense to implement pagination for the Fulfillment API so that we don't force the plugin to request an enormous amount of data. Specifically, it would be nice if we could do something like this: GET /regions/:id/fulfillment-options?offset=x

srindom avatar May 24 '22 18:05 srindom

Hi, @srindom I would like to work on this issue

SounakB avatar Sep 11 '22 11:09 SounakB