allegro / allegro-api

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

Commission or Fees before creating product #9460

Open dmsmatrix opened 1 month ago

dmsmatrix commented 1 month ago

Hi,

Is there any API to check commission fees on particular leaf level category before ow without creating product.

I can see an API called Calculate fee and commission for an offer with endpoint: https://developer.allegro.pl/documentation#operation/calculateFeePreviewUsingPOST, but its after creating offer.

Thanks in advance..

Lukasz-Zurek commented 1 month ago

Is there any API to check commission fees on particular leaf level category before ow without creating product.

I can see an API called Calculate fee and commission for an offer with endpoint: https://developer.allegro.pl/documentation#operation/calculateFeePreviewUsingPOST, but its after creating offer.

Not really, you do not have to create an offer first. Obviously while using GET /billing/billing-entries, we require a full offer data in the offer structure. So you can retrieve this data via GET /sale/offers/{offerId}. For example - you can create a draft and check commission fees based on the offer structure. But still we need this data and we do not have any other resource to calculate it.

Lukasz-Zurek commented 1 month ago

@dmsmatrix I have to clarify my last message:

Not really, you do not have to create an offer first. Obviously while using GET /billing/billing-entries

I meant POST /pricing/offer-fee-preview of course. I have incorrectly linked to a different resource.

we require a full offer data in the offer structure. So you can retrieve this data via GET /sale/offers/{offerId}.

I meant GET /sale/product-offers/{offerId}. But you can follow the structure which we present in our documentation for POST /pricing/offer-fee-preview.

stale[bot] commented 1 month ago

W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.


There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.