allegro / allegro-api

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

Question about #9671

Open yangcen6 opened 2 months ago

yangcen6 commented 2 months ago
  1. What promotion does MULTIPACK and CROSSMULTIPACK in /order/checkout-forms/{id} represent? 2.If a customer used a gift card or coins when purchasing an item, which field tells us whether the order used this promotions and what the value was?
  2. Is there a formula for calculating the order amount? Is this calculation formula correct?*summary.totalToPay.amount=payment.paidAmount.amount=delivery.cost.amount+lineitem.price.amountlineitem.quantity+surcharges.paidamount.amount**
MaciejFrackowiak commented 2 months ago
  1. The endpoint description will include detailed information about those promotions.
  2. We do not return such information, because this kind of information is not necessary to process the order.
  3. Yes, it is correct.
yangcen6 commented 2 months ago

But for Q2, we need this information to calculate what specific discounts are available for this order.

MaciejFrackowiak commented 2 months ago

Gift cards or coins are not the discounts, but some kind of payment method and such information is not necessary for the seller because he receives the whole order amount.

yangcen6 commented 2 months ago

There is no corresponding field in the payment method. For example, coins are borne by the merchant. We need to know the specific amount of this part for accounting and invoicing.

MaciejFrackowiak commented 2 months ago

Coins are given by Allegro to the buyers too. You can always track costs using GET /billing/billing-entries.

yangcen6 commented 2 months ago

For Q3,Is this calculation formula correct? lineitem.price.amount=lineitem.originalprice.amount-lineitem.vouchers.value.amount-discounts.value.amount

MaciejFrackowiak commented 2 months ago

Yes, lineItem.price.amount is a value after any discount.

yangcen6 commented 2 months ago

Is the order payment time returned by the API Polish time?

MaciejFrackowiak commented 2 months ago

No, in the API we return universal time, Zulu Time. Please, read basic information about Allegro API.

stale[bot] commented 2 months 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.