Poll async bulk issuance task
Gift Cards
Poll async bulk issuance task
Poll Async Bulk Issuance
Returns the current status of an async bulk gift-card issuance task.
Path Parameters:
programId: MongoDB ObjectId of the loyalty programtaskId: Celery task ID returned by the bulk issuance POST
Response (BulkIssuanceTaskStatus):
status:"pending"|"processing"|"completed"|"failed"issuedCount,cards,csvDownloadUrl— populated whenstatus == "completed"failedCount,error— populated whenstatus == "failed"or on partial failure
GET
Poll async bulk issuance task
Authorizations
JWT access token obtained from POST /v2/token.
Path Parameters
Required string length:
24Pattern:
^[0-9a-f]{24}$Example:
"5eb7cf5a86d9755df3a6c593"
Query Parameters
Required string length:
24Pattern:
^[0-9a-f]{24}$Example:
"5eb7cf5a86d9755df3a6c593"
