allegro / allegro-api

Issue tracker and wiki for Allegro REST API
https://developer.allegro.pl/
213 stars 39 forks source link

Clarifications - api domain, offers, prices, stocks, delivery #10035

Open andus4n opened 2 days ago

andus4n commented 2 days ago

Hi...i have a few more things that i'd like to clarify regarding this api:

  1. is there anything like api.allegro.cz / api.allegro.sk / api.allegru.hu or all of the calls are made to api.allegro.pl? (except the authorization and sandbox ones, of course)
  2. is there any way to retrieve the best selling price amongst all of the offers for a product?
  3. how are the delivery days computed, to be more precise? i mean, should all of the days be taken into account or should i exclude the non-working ones?
  4. is there any way to change a product's RRP? (RRP = recommended retail price = the price that's "cutted" / appears with a line-through)
  5. what's the difference between $.productSet[0].quantity.value and $.stock.available? why is the first one required to have a value greater than 0?
  6. is there any way to list a different stock on the "extra" marketplaces?
  7. can i use other values for the delivery time besides the documented ones? (PT0S, PT24H, P2D, P3D, P4D, P5D, P7D, P10D, P14D, P21D, P30D, P60D)
  8. how can i retrieve the commission (the amount retained by allegro) for a product?
  9. do the delivery days represent the time until a seller dispatches a package to the courier or until the client itself retrieves the package?

That would be all for the moment.

MaciejFrackowiak commented 23 hours ago
  1. No, there is one API available on api.allegro.pl.
  2. No, we don't have such an endpoint.
  3. This question is not directly connected to the API, please contact Allegro support.
  4. No.
  5. productSet[0].quantity.value refers to the product part of the request and the value must be greater than 0 because you cannot create productSet with 0. stock.available refers to the offer quantity, which is available in the offer and can be buy by the buyers.
  6. No, there is no such possibility. For all the marketplaces stock is the same.
  7. No.
  8. You can calculate it by POST /pricing/offer-fee-preview.
  9. Similar to point 3, please contact Allegro support.