Loyalty Import Object


An Import object is a batch import of loyalty points for existing customers. You can use Loyalty Imports to import loyalty points from 3rd-party providers or update existing customer point balances. This object tracks the entire import process from file upload to data processing.

Properties
idstringRead-onlyformat GUID

The ID of the import.


asyncImportJobIdstringRead-onlyformat GUID

ID of the asynchronous import job associated with this import.


revisionintegerRead-onlyformat int64

Revision number, which increments by 1 each time the Loyalty Import is updated. To prevent conflicting changes, the current revision must be passed when updating the Loyalty Import.

Ignored when creating a Loyalty Import.


createdDatestringRead-onlyformat date-time

Date and time the Loyalty Import was created.


updatedDatestringRead-onlyformat date-time

Date and time the Loyalty Import was last updated.


statusstringRead-only

Current status of the import process.


fileMetadataFileMetadata

Metadata of the uploaded file containing loyalty points data.


parseResultParseResult

Results of parsing the uploaded file, including the number of rows parsed and any parse errors.


importResultImportResult

Results of the import process, including success and failure counts.

Did this help?