Export AWD Ledgers
GET/api/amazon/unified/awd/ledgers/export
Streams the AWD ledger list as a CSV file (capped at 100,000 rows). Accepts the same filters as the paginated list, so a filtered export restates exactly what the table shows. Columns: ID, Integration, Date, Event Type, FNSKU, MSKU, Product SKU, Reference ID, Fulfillment Center, Disposition, Quantity, Reconciled Quantity, Reconciled At, COGS (per-unit, from the FIFO subledger), Extended COGS (signed by the event direction — negative for departures), FIFO Layer Date, Effective At, Linked Warehouse Transfer, Linked Sales Order, Created At.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
The response is a text/csv file download, not JSON. Also carries 'FIFO Layer Date' and 'Effective At' — the valuation instants the Inventory Value Change report windows AWD rows by (arrivals by their created layer's date; departures by their consumptions' effective instant) — so an export can be re-windowed onto the report's basis. A final 'Row Source' column distinguishes real Amazon ledger rows from DERIVED subledger rows: when the export's date filter pins a full window (between/is on date), the file also carries the recognitions the valuation reports count that have no Amazon ledger row — summary true-ups, initial-inventory layers, unlinked consumptions, and closure-rounding flushes (IDs prefixed L-/C-/F-) — so a filtered export sums to the reports' change without leaving the file.
Request
Responses
- 200
- 401
- 403
- 429
Successful response
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.