allegro / allegro-api

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

Question about #9671

Open yangcen6 opened 3 weeks ago

yangcen6 commented 3 weeks 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 3 weeks 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 3 weeks ago

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

MaciejFrackowiak commented 3 weeks 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 3 weeks 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 3 weeks ago

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

yangcen6 commented 3 weeks ago

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

MaciejFrackowiak commented 3 weeks ago

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

yangcen6 commented 3 weeks ago

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

MaciejFrackowiak commented 3 weeks ago

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

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