Async Action
This is an object representing an asynchronous action.
All of:
- Async Action Base
-
Async Action Base
Attributes | Description |
---|---|
idstring | Async action unique ID. Example:aa_0adad13d6f057f088e |
typestring | Type of async action. Available values:CAMPAIGN.VOUCHERS_IMPORT , CAMPAIGN.VOUCHERS_IMPORT_CSV , CAMPAIGN.VOUCHERS_UPDATE , CAMPAIGN.VOUCHERS_DELETE , CAMPAIGN.VOUCHERS_GENERATE , CAMPAIGNS.METADATA_KEY_PURGE , CUSTOMERS.IMPORT_CSV , CUSTOMERS.BULK_UPDATE , CUSTOMERS.METADATA_UPDATE , CUSTOMERS.METADATA_KEY_PURGE , PRODUCTS.BULK_UPDATE , PRODUCTS.METADATA_UPDATE , PRODUCTS.METADATA_KEY_PURGE , PRODUCTS.IMPORT_CSV , SKUS.IMPORT_CSV , VOUCHERS.IMPORT , VOUCHERS.IMPORT_CSV , VOUCHERS.BULK_UPDATE , VOUCHERS.METADATA_UPDATE , VOUCHERS.METADATA_KEY_PURGE , ORDERS.IMPORT , ORDERS.METADATA_KEY_PURGE |
statusstring | Status of the async action. Informs you whether the async action has already been completed. Available values:DONE , ENQUEUED , FAILED , IN_PROGRESS |
operation_statusstring | Status of async action processing. Informs about the async action status, whether it failed, succeeded, or the status is unknown. Available values:FAILED , SUCCESS , UNKNOWN |
created_atstring | Timestamp representing the date and time when the async action was scheduled in ISO 8601 format. Example:2022-06-23T11:21:45.578Z |
updated_atstring | Timestamp representing the date and time when the async action was updated. The value is shown in the ISO 8601 format. Example:2022-06-23T11:21:46.795Z |
request_idstring | Unique request ID. Example:v-0b45cee140c3c9b5ca |
processing_timeinteger | The length of time it took to process the request in milliseconds. Example:1217 |
progressinteger | % progress to completion of the asynchronous action. |
objectstring | The type of the object represented by JSON. This object stores information about the async_action |
CAMPAIGN.VOUCHERS_IMPORT
Attributes | Description | ||||||
---|---|---|---|---|---|---|---|
messagestring | A human-readable message providing a short description about the result. | ||||||
failedarray | If any records failed during the process, this array shows the failure details. Array of:
| ||||||
done_countinteger | Number of resources processed successfully. | ||||||
failed_countinteger | Number of resources failed to process. |
CAMPAIGN.VOUCHERS_IMPORT_CSV
Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
messagestring | A human-readable message providing a short description about the result. | ||||||||
failedarray | If any records failed during the process, this array shows the failure details. Array of:
| ||||||||
done_countinteger | Number of resources processed successfully. | ||||||||
failed_countinteger | Number of resources failed to process. |
CAMPAIGN.VOUCHERS_UPDATE
Attributes | Description |
---|---|
messagestring | A human-readable message providing a short description about the result. |
done_countinteger | Number of resources processed successfully. |
CAMPAIGN.VOUCHERS_DELETE
Attributes | Description |
---|---|
messagestring | A human-readable message providing a short description about the result. |
done_countinteger | Number of resources processed successfully. |
CAMPAIGN.VOUCHERS_GENERATE
Attributes | Description |
---|---|
messagestring | A human-readable message providing a short description about the result. |
done_countinteger | Number of resources processed successfully. |
CAMPAIGNS.METADATA_KEY_PURGE
Attributes | Description |
---|---|
messagestring | A human-readable message providing a short description about the result. |
done_countinteger | Number of resources processed successfully. |
CUSTOMERS.IMPORT_CSV
Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
messagestring | A human-readable message providing a short description about the result. | ||||||||
failedarray | If any records failed during the process, this array shows the failure details. Array of:
| ||||||||
done_countinteger | Number of resources processed successfully. | ||||||||
failed_countinteger | Number of resources failed to process. |
CUSTOMERS.BULK_UPDATE
All of:
- Async Action Voucher Customer Product Bulk Update Result
-
Attributes Description errors array
List of errors encountered during processing.
Array of:Attributes Description message string
A human-readable message providing a short description of the error.
details string
A human-readable message providing more details about the error.
key string
Short string describing the kind of error which occurred.
source_id string
Source identifier of the customer for which the error occurred.
CUSTOMERS.METADATA_UPDATE
Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
errorsarray | List of errors encountered during processing. Array of:
|
CUSTOMERS.METADATA_KEY_PURGE
Attributes | Description |
---|---|
messagestring | A human-readable message providing a short description about the result. |
done_countinteger | Number of resources processed successfully. |
PRODUCTS.BULK_UPDATE
All of:
- Async Action Voucher Customer Product Bulk Update Result
-
Attributes Description errors array
List of errors encountered during processing.
Array of:Attributes Description message string
A human-readable message providing a short description of the error.
details string
A human-readable message providing more details about the error.
key string
Short string describing the kind of error which occurred.
source_id string
Source identifier of the product for which the error occurred.
PRODUCTS.METADATA_UPDATE
Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
errorsarray | List of errors encountered during processing. Array of:
|
PRODUCTS.IMPORT_CSV
Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
messagestring | A human-readable message providing a short description about the result. | ||||||||
failedarray | If any records failed during the process, this array shows the failure details. Array of:
| ||||||||
done_countinteger | Number of resources processed successfully. | ||||||||
failed_countinteger | Number of resources failed to process. |
SKUS.IMPORT_CSV
Attributes | Description | ||||||
---|---|---|---|---|---|---|---|
messagestring | A human-readable message providing a short description about the result. Example:2 sku(s) imported successfully, 6 failed. | ||||||
failedarray | If any records failed during the process, this array shows the failure details. Array of:
| ||||||
done_countinteger | Number of resources processed successfully. | ||||||
failed_countinteger | Number of resources failed to process. |
PRODUCTS.METADATA_KEY_PURGE
Attributes | Description |
---|---|
messagestring | A human-readable message providing a short description about the result. |
done_countinteger | Number of resources updated successfully. |
VOUCHERS.IMPORT
Attributes | Description | ||||||
---|---|---|---|---|---|---|---|
messagestring | A human-readable message providing a short description about the result. | ||||||
failedobject | If any records failed during the process, this array shows the failure details.
| ||||||
done_countinteger | Number of resources processed successfully. | ||||||
failed_countinteger | Number of resources failed to process. |
VOUCHERS.IMPORT_CSV
Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
messagestring | A human-readable message providing a short description about the result. | ||||||||
failedarray | If any records failed during the process, this array shows the failure details. Array of:
| ||||||||
done_countinteger | Number of resources processed successfully. | ||||||||
failed_countinteger | Number of resources failed to process. |
VOUCHERS.BULK_UPDATE
All of:
- Async Action Voucher Customer Product Bulk Update Result
-
Attributes Description errors array
List of errors encountered during processing.
Array of:Attributes Description message string
A human-readable message providing a short description of the error.
details string
A human-readable message providing more details about the error.
key string
Short string describing the kind of error which occurred.
code string
Code of the voucher for which the error occurred.
VOUCHERS.METADATA_UPDATE
Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
errorsarray | List of errors encountered during processing. Array of:
|
VOUCHERS.METADATA_KEY_PURGE
Attributes | Description |
---|---|
messagestring | A human-readable message providing a short description about the result. |
done_countinteger | Number of resources processed successfully. |
ORDERS.IMPORT
Attributes | Description | ||||||
---|---|---|---|---|---|---|---|
messagestring | A human-readable message providing a short description about the result. | ||||||
failedobject | If any records failed during the process, this array shows the failure details.
| ||||||
done_countinteger | Number of resources processed successfully. | ||||||
failed_countinteger | Number of resources failed to process. |
ORDERS.METADATA_KEY_PURGE
Attributes | Description |
---|---|
messagestring | A human-readable message providing a short description about the result. |
done_countinteger | Number of resources processed successfully. |
Async Action Voucher Customer Product Bulk Update Result
Attributes | Description |
---|---|
done_countinteger | Number of items successfully processed. |
failed_countinteger | Number of items that failed to be processed. |
reportsarray | List of URLs to report files. |
reports_available_tillstring | Timestamp until the reports are available. |