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 import
POST
https://api.pack.cloud/v1/organizations/{organizationId}/imports
Request
Path parameters
organizationIdstring
Payload
filestringrequired
fieldstring
indexintegernull
typestringrequired
Type of the import
Allowed values:productsproduct_bundles
Response
Created
Body
idstring
ID of the import
file_namestring
Name of the file
statusstring
Status of the import
Allowed values:queuedprocessingcompletederror
typestring
Type of the import
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when upload and feedback expires
Created
Body
idstring
ID of the import
file_namestring
Name of the file
statusstring
Status of the import
Allowed values:queuedprocessingcompletederror
typestring
Type of the import
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when upload and feedback expires
Created
Body
idstring
ID of the import
file_namestring
Name of the file
statusstring
Status of the import
Allowed values:queuedprocessingcompletederror
typestring
Type of the import
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when upload and feedback expires
Created
Body
idstring
ID of the import
file_namestring
Name of the file
statusstring
Status of the import
Allowed values:queuedprocessingcompletederror
typestring
Type of the import
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when upload and feedback expires
Created
Body
idstring
ID of the import
file_namestring
Name of the file
statusstring
Status of the import
Allowed values:queuedprocessingcompletederror
typestring
Type of the import
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when upload and feedback expires
Created
Body
idstring
ID of the import
file_namestring
Name of the file
statusstring
Status of the import
Allowed values:queuedprocessingcompletederror
typestring
Type of the import
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
expires_atstringnull
Time when upload and feedback expires