Admin API / Mutations

exportShipments

Writes one CSV row per shipment that Viewer.shipments returns for the same query and where, with no paging limit. Contact columns need the admin:contactDetails:read client scope. PIRATE_SHIP_CSV fails with FORBIDDEN without it.

Requires a client key with one of these scopes: admin:shipments:readRequires this member role or higher: SELLER A member below this role, or an inactive member, who has outstanding seller obligations can also call it.
exportShipments(
  input: ExportShipmentsInput!
): ExportShipmentsPayload!

Arguments

ArgumentTypeDescription
inputExportShipmentsInput!The shipments to export and the format of the file.

Return type

ExportShipmentsPayload!