These docs are for v2023.12.01. Click to read the latest docs for v2025.03.01.

SERVICE_PROMOCODE_BATCH_CREATE

{ "type" : "object", "properties" : { "id" : { "type" : "string" }, "name" : { "type" : "string" }, "promoCodeBatches" : { "type" : "array", "items" : { "type" : "object", "description": "It will contain only details of the created batch", "properties" : { "id" : { "type" : "string" }, "creationType" : { "type" : "string", "enum" : [ "GENERATE", "UPLOAD" ] }, "creationStatus" : { "type" : "string", "enum" : [ "WAITING", "WORKING", "CANCEL_REQUESTED", "CANCELLED", "COMPLETE", "FAILED", "REMOVED" ] }, "numberRequested" : { "type" : "integer" }, "requestedDate" : { "type" : "string", "format" : "date-time" } } } } } }

Did this page help you?