Inventory > Inventory Locations > inventoryLocationsExport
Commerce APIInventoryInventory LocationsinventoryLocationsExport
inventoryLocationsExport
POST:inventory_locations/export.json

Description

Export inventory locations into CSV format. Launches a task, when complete it will offer a downloadable result.

Permission bit: "inventory_locations.export"

Topic: Inventory Locations

Arguments

data: GenericExport!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

columns: [String!]


filter_fields: String

A fields specification to filter out data's unused fields (for the filter script)

Valid when: filter_fields's length doesn't exceed 100000 characters


filter_script: String

A script to filter the export items (JavaScript)

Valid when: filter_script's length doesn't exceed 100000 characters


ids: [String!]


options: ExportOptions


zip: Boolean


Result

ForeignShardedTask

Preview (typescript)

Loading module