Import Promotion Code(s)

Import a batch of promotion code(s) into the CDP.

POST https://api.ants.tech/access/api/promotion/import

Headers

Name
Type
Description

Authorization*

String

Bearer <ACCESS_TOKEN>

Request Body

Name
Type
Description

promotions[]*

Array of JSON

An array of promotion code data you want to import into CDP.

pool_id*

Number

ID of the Promotion Pool in CDP where you are importing into.

job_run_id*

String

promotions[].id*

String

ID of the promotion code.

promotions[].name*

String

Name of the promotion code (usually it is the code value).

{
    "code": 200,
    "status": true,
    "messsage": "ok",
    "requestId": "0e5dce52-d0a6-4b7d-a7b6-ee26b1ff685d"
}

Last updated