Pełne argumenty porównania dwóch okresów
Argumenty tego przykładu wykonuje rzeczywisty SDK. Każda kolejna strona wymaga tych samych kompletnych wejść. Stronicowanie zmienia odpowiedź, a nie zakres obliczenia.
{
"view": "comparison",
"A": {
"input": {
"orders": {
"text": "Id,Total,Refunded Amount,Currency,Financial Status,Lineitem SKU,Lineitem quantity,Created at\nA1,7200,0,PLN,paid,TS-01,80,2026-09-01\nA2,4800,600,PLN,partially_refunded,HD-02,40,2026-09-03"
},
"costs": {
"text": "SKU,unit_cost,Currency\nTS-01,40,PLN\nHD-02,80,PLN"
},
"orderMap": {
"Id": 0,
"Total": 1,
"Refunded Amount": 2,
"Currency": 3,
"Financial Status": 4,
"Lineitem SKU": 5,
"Lineitem quantity": 6,
"Created at": 7
},
"costMap": {
"SKU": 0,
"unit_cost": 1
},
"extra": {
"fees": "480",
"shipping": "520",
"ads": "1200",
"fixed": "0"
},
"basis": "gross_PLN_original_ordered_quantities"
},
"scope": {
"from": "2026-09-01",
"to": "2026-09-30",
"confirmed": true
}
},
"B": {
"input": {
"orders": {
"text": "Id,Total,Refunded Amount,Currency,Financial Status,Lineitem SKU,Lineitem quantity,Created at\nB1,8000,0,PLN,paid,TS-01,100,2026-10-01\nB2,5000,800,PLN,partially_refunded,HD-02,40,2026-10-03"
},
"costs": {
"text": "SKU,unit_cost,Currency\nTS-01,45,PLN\nHD-02,75,PLN"
},
"orderMap": {
"Id": 0,
"Total": 1,
"Refunded Amount": 2,
"Currency": 3,
"Financial Status": 4,
"Lineitem SKU": 5,
"Lineitem quantity": 6,
"Created at": 7
},
"costMap": {
"SKU": 0,
"unit_cost": 1
},
"extra": {
"fees": "600",
"shipping": "450",
"ads": "1000",
"fixed": "100"
},
"basis": "gross_PLN_original_ordered_quantities"
},
"scope": {
"from": "2026-10-01",
"to": "2026-10-31",
"confirmed": true
}
}
}
Wynik, nieporównywalność i limity — PL / EN
Pole comparisonView: summary, issues, orders, refunds, skus, extras, sources. Listy mają do 12 pozycji oraz jawną stronę, liczbę wszystkich pozycji i kolejną stronę. Wspólne ID, nakładające się zakresy i nieznane lub sprzeczne daty blokują porównywalność, także przy zadeklarowanym potwierdzeniu.
Dwa wejścia łącznie mieszczą do 10 000 rekordów zamówień i 10 000 kosztów, z niższą granicą 900 KiB JSON. Nie usuwaj rekordów w celu zmieszczenia żądania. Podsumowanie zawsze obejmuje całość obu przekazanych wejść. Pełny rzeczywisty wynik demonstracyjny JSON.
Send complete A/B inputs on every call. Summary totals cover both complete inputs. Views and source references are separately paginated; no data is silently truncated. Missing cost keeps the full margin difference null. Opaque keys resolve financial entries through record/column numbers in your own input; no raw CSV, filenames, order IDs or SKU identities are echoed. No saved pair, account, purchase or paid export is added.