The REST API is deprecated and will be removed in the future. Some endpoints may no longer be available. Use the GraphQL API instead.
Create export
POST
https://api.pack.cloud/v1/warehouses/{warehouseId}/exports
Request
Path parameters
warehouseIdstring
Payload
formatstring
Format of the export
Allowed values:csvxlsx
typestringrequired
Type of the export
Allowed values:stocksstock_mutationsstock_locations
Response
Created
Body
idstring
ID of the export
file_namestring
Name of the file
statusstring
Status of the export
Allowed values:requestedgeneratingcompletederrorexpired
typestring
Type of the export
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when export expires
Created
Body
idstring
ID of the export
file_namestring
Name of the file
statusstring
Status of the export
Allowed values:requestedgeneratingcompletederrorexpired
typestring
Type of the export
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when export expires
Created
Body
idstring
ID of the export
file_namestring
Name of the file
statusstring
Status of the export
Allowed values:requestedgeneratingcompletederrorexpired
typestring
Type of the export
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when export expires
Created
Body
idstring
ID of the export
file_namestring
Name of the file
statusstring
Status of the export
Allowed values:requestedgeneratingcompletederrorexpired
typestring
Type of the export
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when export expires
Created
Body
idstring
ID of the export
file_namestring
Name of the file
statusstring
Status of the export
Allowed values:requestedgeneratingcompletederrorexpired
typestring
Type of the export
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when export expires
Created
Body
idstring
ID of the export
file_namestring
Name of the file
statusstring
Status of the export
Allowed values:requestedgeneratingcompletederrorexpired
typestring
Type of the export
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when export expires