Admin API / Types
ListingExport
ObjectAn NDJSON export of every listing, hidden listings included, in parts. One JSON record a line, in ascending listing ID across all parts. Each ADMIN or higher reads the exports that this client started. It lives 7 days.
admin:products:readThe requirement applies to every field of ListingExport unless that field declares its own scopes.
type ListingExport implements NodeFields
| Field | Type | Description |
|---|---|---|
createdAt | DateTime! | When the export was requested. |
expiresAt | DateTime! | When the export is deleted. The export resolves null after this instant. |
failureCode | ListingExportFailureCode | Why the export failed. Null unless the status is FAILED. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
parts | [ListingExportPart!] | The parts in index order. The export file is the bytes of all parts in this order. Null until READY. An empty list when there are no listings. |
recordCount | NonNegativeInt | The number of records in all parts. Null until READY. |
sizeBytes | NonNegativeInt | The byte size of all parts. Null until READY. |
snapshotAt | DateTime | The createdAt of the export, set with READY. The file holds every change that ended before it, and can hold later changes. Null until READY. |
sortKey | ListingExportSortKey! | The sort key of the records across all parts. Always LISTING_ID. |
status | GeneratedFileStatus! | The export state. A PENDING export older than 1 hour reads FAILED. |