abuzuhri / Amazon-SP-API-CSharp

.Net C# library for the new Amazon Selling Partner API
MIT License
215 stars 191 forks source link

Cannot get fulfillmentPreview to work - says missing parameter [items]. However createFulfillmentOrder does work. #630

Open nickgoodmanuk opened 1 year ago

nickgoodmanuk commented 1 year ago

Hi, think may have found a possible bug. I'm using version 1.6.11.

When I try to call getFulfillmentPreview I get a failed response of Parameters missing [items]. However the createFulfillmentOrder call works and this is built up in a similar way.

Doesn't Work :

var fulfillmentpreviewresponse = amazonConnection.FulFillmentOutbound.GetFulfillmentPreview(fulfillmentpreviewrequest);

Works :

var createfulfillmentorderresponse = amazonConnection.FulFillmentOutbound.CreateFulfillmentOrder(createfulfillmentorderrequest);

I have noted the create fulfillment order response is just a boolean, which returns true. It has created the order on Amazon.

POST /fba/outbound/2020-07-01/fulfillmentOrders/preview Operation: getFulfillmentPreview

POST /fba/outbound/2020-07-01/fulfillmentOrders Operation: createFulfillmentOrder

nickgoodmanuk commented 11 months ago

Bump. Will need this or a workaround by March 2024 when the final MWS services are removed and reliant on SP-API. As far as I know fulfillmentpreview is the only way to get estimated fees for Multi-Channel-Fulfillment, not to be confused with FBA estimated fees.

rubberfashion commented 10 months ago

Same issue. Hope for solution soon. Is there any workaround?

nickgoodmanuk commented 10 months ago

Same issue. Hope for solution soon. Is there any workaround?

Not that i've found.

nickgoodmanuk commented 9 months ago

@julianpetriv . Many Thanks, just downloaded latest version and can confirm it now works.