Get Coupon Code Batch
Get Coupon Code Batch on the NodeRings provider API (GET /v1/coupons/{couponId}/code-batches/{batchId}).
Authorization<token>
Bearer token
In: header
X-Organization-ID<token>
Tenant or organization identifier
In: header
Path Parameters
couponIdstring
batchIdstring
Response Body
application/json
curl -X GET "https://api.noderings.com/v1/coupons/{couponId}/code-batches/{batchId}" \ -H "Authorization: Bearer {your_token}" \ -H "X-Organization-ID: {your_org_id}"{
"id": "string",
"couponId": "string",
"status": "COUPON_CODE_BATCH_STATUS_UNSPECIFIED",
"requestedCount": 0,
"generatedCount": 0,
"prefix": "string",
"maxRedemptions": 0,
"validUntil": "2019-08-24T14:15:22Z",
"campaign": "string",
"channel": "string",
"failureReason": "string",
"completedAt": "2019-08-24T14:15:22Z",
"exportCount": 0,
"lastExportedAt": "2019-08-24T14:15:22Z",
"lastExportedByUserId": "string",
"timestamps": {
"createTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z"
}
}