Import
Was this helpful?
Was this helpful?
Import
Get import template details. When includeLayouts is true, the response contains all layouts for the template. If includeConversions is also true, the response also contains all conversions for every layout. includeConversions is only honored if includeLayouts is true
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Include layouts in response
Include conversions in response
Example response
Delete an Import template
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
No Content
No Content
List layouts for a import template
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
Example response
Get import layout details
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a import layout.
^[A-Za-z0-9-_]+
Include conversions in response
Example response
Delete an Import layout
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a import layout.
^[A-Za-z0-9-_]+
No Content
No Content
List import files. Use query parameter to narrow list
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Import Template.
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
ENUM | Description |
---|---|
NOT_STARTED | Import not started |
IMPORT_IN_PROGRESS | Import is running |
IMPORT_ABORT | Import is aborting |
IMPORT_ABORTED | Import has been aborted |
VALIDATE_IN_PROGRESS | Validate is running |
COMPLETE_NOTHING_TO_IMPORT | Import is done, but there where nothing to import |
COMPLETE | Import complete |
VALIDATE_FAILED | Validate failed |
IMPORT_FAILED | Import failed |
IMPORT_ABORT | Import is aborting |
IMPORT_ABORTED | Import has been aborted |
READY_TO_IMPORT | Validation OK, import is ready |
Example response
List conversions for a import layout
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a import layout.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
Example response
Get import layout conversion details
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a import layout.
^[A-Za-z0-9-_]+
Reference to a import layout conversion.
^[A-Za-z0-9-_]+
Example response
Delete an Import layout
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a import layout.
^[A-Za-z0-9-_]+
Reference to a import layout conversion.
^[A-Za-z0-9-_]+
No Content
No Content
List all import templates
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
Example response
Create import template
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
ENUM | Description |
---|---|
PRODUCTS | Import products |
PRICES | Import prices |
PRODUCT_GROUPS | Import product groups |
BRANDS | Import brands |
CUSTOMERS | Import customers |
STOCK | Import stock values |
SUPPLIER_PRODUCT | Import Product supplier information |
SUPPLIERS | Import suppliers |
ENUM | Description |
---|---|
EXCEL | XLS file |
^[A-Za-z0-9-_]+
Example response
Update import template
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Example response
Create layout for an import template
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Example response
Update import layout
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a import layout.
^[A-Za-z0-9-_]+
Entity field name in FlowRetail
Static value, or reference to field in import file.
Example: For EXCEL import use A
to get the value from column A
Example response
This will create and return a new import file record with state NOT_STARTED
and the importFileUid
.
The validation and import is processed in a new thread
that will update the import progress every 5 seconds.
To fetch the current state, use the Get import-file details
endpoint.
Use action PROCESS
to commit the import upon validation.
If no errors occur the import state is COMPLETE
.
Use action SIMULATE
if you do not want to commit the import data and only validat.
If no errors occur the import state will be READY_TO_IMPORT
.
Use the Execute import content
endpoint to abort the processing or
to commit (execute) a successful simulation.
Reference to a tenant.
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]+
base64 encoded data to be processed
ENUM | Description |
---|---|
INSERT | Only insert non-existing records, existing records will be ignored |
UPDATE | Only update existing records, non-existing records will be ignored |
UPSERT | non-existing records will be inserted, existing records will be updated |
ENUM | Description |
---|---|
SIMULATE | Do a simulate on import. Return content without saving |
PROCESS | Process file with given template. Save file if no errors |
^[A-Za-z0-9-_]+
Example response
Execute or abort import job.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import file.
^[A-Za-z0-9-_]+
ENUM | Description |
---|---|
EXECUTE | Execute Import job |
ABORT | Abort running job |
Example response
Create conversion for an import layout
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a import layout.
^[A-Za-z0-9-_]+
Example response
Update import layout
Required permission: TENANT.ADMIN
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a import template.
^[A-Za-z0-9-_]+
Reference to a import layout.
^[A-Za-z0-9-_]+
Reference to a import layout conversion.
^[A-Za-z0-9-_]+
Example response