Skip to main content

Async Action

This is an object representing an asynchronous action. All of:
  1. Async Action Base
  2. AttributesDescription
    resultOne of: 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.IMPORT_CSV, SKUS.IMPORT_CSV, PRODUCTS.METADATA_KEY_PURGE, VOUCHERS.IMPORT, VOUCHERS.IMPORT_CSV, VOUCHERS.BULK_UPDATE, VOUCHERS.METADATA_UPDATE, VOUCHERS.METADATA_KEY_PURGE, ORDERS.IMPORT, ORDERS.METADATA_KEY_PURGE

Async Action Base

AttributesDescription
idstringAsync action unique ID.Example:aa_0adad13d6f057f088e
typestringType 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
statusstringStatus of the async action. Informs you whether the async action has already been completed.Available values: DONE, ENQUEUED, FAILED, IN_PROGRESS
operation_statusstringStatus 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_atstringTimestamp representing the date and time when the async action was scheduled in ISO 8601 format.Example:2022-06-23T11:21:45.578Z
updated_atstringTimestamp 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_idstringUnique request ID.Example:v-0b45cee140c3c9b5ca
processing_timeintegerThe length of time it took to process the request in milliseconds.Example:1217
progressinteger% progress to completion of the asynchronous action.
objectstringThe type of the object represented by JSON. This object stores information about the async_action.Available values: async_action

CAMPAIGN.VOUCHERS_IMPORT

AttributesDescription
messagestringA human-readable message providing a short description about the result.
failedarrayIf any records failed during the process, this array shows the failure details.Array of:Attributes Descriptioncodestring Unique voucher code. reasonstring Detailed failure cause for the voucher code import.
done_countintegerNumber of resources processed successfully.
failed_countintegerNumber of resources failed to process.

CAMPAIGN.VOUCHERS_IMPORT_CSV

AttributesDescription
messagestringA human-readable message providing a short description about the result.
failedarrayIf any records failed during the process, this array shows the failure details.Array of:Attributes Descriptioncodestring Unique voucher code. rowinteger The CSV file row number where the code definition is recorded. The row counter excludes the file headers row. reasonstring Detailed failure cause for the voucher code import.
done_countintegerNumber of resources processed successfully.
failed_countintegerNumber of resources failed to process.

CAMPAIGN.VOUCHERS_UPDATE

AttributesDescription
messagestringA human-readable message providing a short description about the result.
done_countintegerNumber of resources processed successfully.

CAMPAIGN.VOUCHERS_DELETE

AttributesDescription
messagestringA human-readable message providing a short description about the result.
done_countintegerNumber of resources processed successfully.

CAMPAIGN.VOUCHERS_GENERATE

AttributesDescription
messagestringA human-readable message providing a short description about the result.
done_countintegerNumber of resources processed successfully.

CAMPAIGNS.METADATA_KEY_PURGE

AttributesDescription
messagestringA human-readable message providing a short description about the result.
done_countintegerNumber of resources processed successfully.

CUSTOMERS.IMPORT_CSV

AttributesDescription
messagestringA human-readable message providing a short description about the result.
failedarrayIf any records failed during the process, this array shows the failure details.Array of:Attributes Descriptionsource_idstring Unique customer ID from your inventory system as indicated in the CSV file. rowinteger The CSV file row number where the customer is recorded. The row counter excludes the file headers row. reasonstring Detailed failure cause for the customer import.
done_countintegerNumber of resources processed successfully.
failed_countintegerNumber of resources failed to process.

CUSTOMERS.BULK_UPDATE

All of:
  1. Async Action Voucher Customer Product Bulk Update Result
  2. AttributesDescription
    errorsarrayList of errors encountered during processing.Array of:Attributes Descriptionmessagestring A human-readable message providing a short description of the error. detailsstring A human-readable message providing more details about the error. keystring Short string describing the kind of error which occurred. source_idstring Source identifier of the customer for which the error occurred.

CUSTOMERS.METADATA_UPDATE

AttributesDescription
errorsarrayList of errors encountered during processing.Array of:Attributes Descriptionmessagestring A human-readable message providing a short description of the error. detailsstring A human-readable message providing more details about the error. keystring Short string describing the kind of error which occurred.

CUSTOMERS.METADATA_KEY_PURGE

AttributesDescription
messagestringA human-readable message providing a short description about the result.
done_countintegerNumber of resources processed successfully.

PRODUCTS.BULK_UPDATE

All of:
  1. Async Action Voucher Customer Product Bulk Update Result
  2. AttributesDescription
    errorsarrayList of errors encountered during processing.Array of:Attributes Descriptionmessagestring A human-readable message providing a short description of the error. detailsstring A human-readable message providing more details about the error. keystring Short string describing the kind of error which occurred. source_idstring Source identifier of the product for which the error occurred.

PRODUCTS.METADATA_UPDATE

AttributesDescription
errorsarrayList of errors encountered during processing.Array of:Attributes Descriptionmessagestring A human-readable message providing a short description of the error. detailsstring A human-readable message providing more details about the error. keystring Short string describing the kind of error which occurred.

PRODUCTS.IMPORT_CSV

AttributesDescription
messagestringA human-readable message providing a short description about the result.
failedarrayIf any records failed during the process, this array shows the failure details.Array of:Attributes Descriptionrowinteger The CSV file row number where the product definition is recorded. The row counter excludes the file headers row. source_idstring The source identifier of the product that caused the error. reasonstring Detailed failure cause for the product import.
done_countintegerNumber of resources processed successfully.
failed_countintegerNumber of resources failed to process.

SKUS.IMPORT_CSV

AttributesDescription
messagestringA human-readable message providing a short description about the result.Example:2 sku(s) imported successfully, 6 failed.
failedarrayIf any records failed during the process, this array shows the failure details.Array of:Attributes Descriptionrowinteger The CSV file row number where the SKU definition is recorded. The row counter excludes the file headers row. Example: 2 reasonstring Detailed failure cause for the SKU import. Example: Resource sku with id size-small is in use by products with ids [prod_0b0e3441c2462eff2c]
done_countintegerNumber of resources processed successfully.
failed_countintegerNumber of resources failed to process.

PRODUCTS.METADATA_KEY_PURGE

AttributesDescription
messagestringA human-readable message providing a short description about the result.
done_countintegerNumber of resources updated successfully.

VOUCHERS.IMPORT

AttributesDescription
messagestringA human-readable message providing a short description about the result.
failedobjectIf any records failed during the process, this array shows the failure details.Attributes Descriptioncodestring Unique voucher code. reasonstring Detailed failure cause for the voucher code import.
done_countintegerNumber of resources processed successfully.
failed_countintegerNumber of resources failed to process.

VOUCHERS.IMPORT_CSV

AttributesDescription
messagestringA human-readable message providing a short description about the result.
failedarrayIf any records failed during the process, this array shows the failure details.Array of:Attributes Descriptioncodestring Unique voucher code. rowinteger The CSV file row number where the code definition is recorded. The row counter excludes the file headers row. reasonstring Detailed failure cause for the voucher code import.
done_countintegerNumber of resources processed successfully.
failed_countintegerNumber of resources failed to process.

VOUCHERS.BULK_UPDATE

All of:
  1. Async Action Voucher Customer Product Bulk Update Result
  2. AttributesDescription
    errorsarrayList of errors encountered during processing.Array of:Attributes Descriptionmessagestring A human-readable message providing a short description of the error. detailsstring A human-readable message providing more details about the error. keystring Short string describing the kind of error which occurred. codestring Code of the voucher for which the error occurred.

VOUCHERS.METADATA_UPDATE

AttributesDescription
errorsarrayList of errors encountered during processing.Array of:Attributes Descriptionmessagestring A human-readable message providing a short description of the error. detailsstring A human-readable message providing more details about the error. keystring Short string describing the kind of error which occurred.

VOUCHERS.METADATA_KEY_PURGE

AttributesDescription
messagestringA human-readable message providing a short description about the result.
done_countintegerNumber of resources processed successfully.

ORDERS.IMPORT

AttributesDescription
messagestringA human-readable message providing a short description about the result.
failedobjectIf any records failed during the process, this array shows the failure details.Attributes Descriptionsource_idstring Unique order source ID. reasonstring Detailed failure cause for the voucher code import.
done_countintegerNumber of resources processed successfully.
failed_countintegerNumber of resources failed to process.

ORDERS.METADATA_KEY_PURGE

AttributesDescription
messagestringA human-readable message providing a short description about the result.
done_countintegerNumber of resources processed successfully.

Async Action Voucher Customer Product Bulk Update Result

AttributesDescription
done_countintegerNumber of items successfully processed.
failed_countintegerNumber of items that failed to be processed.
reportsarrayList of URLs to report files.
reports_available_tillstringTimestamp until the reports are available.
I