jlevers / selling-partner-api

A PHP client library for Amazon's Selling Partner API
BSD 3-Clause "New" or "Revised" License
404 stars 196 forks source link

Get lowest offer listing excluding me #591

Closed baltechies closed 1 year ago

baltechies commented 1 year ago

In Amazon MWS we had a request param to exclude me as request parameters when calling Get Lowest Offer Listing For SKU. But I did not find this option in new API Request.

Is this option available? If yes, where I can find it? If not then what is alternative?

I am using getListingOffersBatch request (SellingPartnerApi\Model\ProductPricingV0\GetListingOffersBatchRequest).

jlevers commented 1 year ago

I don't know of any parameter that filters your own offers out of the response, but you can tell which offers in the results are yours with the myOffer attribute: https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v0-reference#offerdetail

baltechies commented 1 year ago

hmmm. previously there was an option in MWS API to filter lowest price excluding requester. I think now we need to filter offers other than myOffers from offers array.