Would it be possible to extend the availability of order details in GET /order/checkout-forms/{id} #13549
mnnmnmn
started this conversation in
Suggestion - verification
Replies: 1 comment
-
|
Thanks for your suggestion. If we decide to implement this solution, we will inform you about it in the thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We understand that GET /order/checkout-forms currently returns only orders from the last 12 months. However, in our case this creates a practical problem when processing refunds.
For example, the original order was placed on May 23, 2025, while the refund was created on May 15, 2026. When our system pulled the refund data on June 8, 2026, the refund record still contained the order ID, but we could no longer retrieve the corresponding order details through GET /order/checkout-forms/{id}.
This is important for us because we use Allegro API data to prepare monthly VAT declaration reports for sellers. Refund transactions affect the VAT amount for the current reporting month, but the refund object only provides the related order ID. In order to calculate VAT correctly, we still need the original order details, especially information such as the dispatch country, destination country, marketplace, line items, tax rates, and other order-level data.
As far as we understand, refunds or complaint-related adjustments may occur much later than the original purchase, in some cases up to around two years. If order details are available only for the last 12 months, then for such refunds we cannot accurately determine the VAT treatment of the refunded transaction.
Would it be possible to extend the availability of order details in GET /order/checkout-forms/{id}, at least for orders referenced by refund transactions, to cover up to 24 months?
Alternatively, would Allegro consider adding the necessary order/tax/shipping details directly to the refund-related API response, so that integrations can correctly process refunds even when the original order is older than 12 months?
Could you also let us know whether there are any plans to support a longer order lookup period, or if there is any recommended official workaround for this scenario?
Thank you very much for your help.
Beta Was this translation helpful? Give feedback.
All reactions