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/organizations/{organizationId}/exports
Request
Path parameters
organizationIdstring
Payload
formatstring
Format of the export
Allowed values:csvxlsx
typestringrequired
Type of the export
Allowed values:ordersproductsproduct_bundlesreturn_requestsshipmentsproduct_stock_by_warehouse
stockAtstringnull
Optional date and time for product stock by warehouse export time travel
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