Skip to main content
POST
/
networks
/
conversions
/
reporting
/
transaction_ids
Create Conversions with Transaction IDs
curl --request POST \
  --url https://api.eflow.team/v1/networks/conversions/reporting/transaction_ids \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "is_now": true,
  "offer_id": 33,
  "timezone_id": 90,
  "event_id": 0,
  "revenue_amount": 2,
  "is_payout_amount_submitted": false,
  "is_revenue_amount_submitted": true,
  "transaction_ids": [
    "300b69de1ba44b5fb84ac4c013436511",
    "300b69de1ba44b5fb84ac4c013436512",
    "300b69de1ba44b5fb84ac4c013436513"
  ]
}
'
{
  "result": true
}
Create conversions by providing an offer, a corresponding event, and a list of transaction IDs. Each transaction ID must match a click that belongs to the specified offer. One conversion is created per transaction ID. Conversions can be created as of now or for a specific date in the past.

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
offer_id
integer
required

The offer ID under which the conversions will be created.

event_id
integer
required

The offer event ID. Use 0 for the default base conversion event.

transaction_ids
string[]
required

List of transaction IDs to create conversions for. Each transaction ID must match a click belonging to the specified offer.

timezone_id
integer
required

Timezone ID for the conversions. Can be found using the metadata API.

is_now
boolean
required

When true, conversions are recorded as of now. When false, you must provide a date value.

date
string

Specific date and time for the conversions when is_now is false. Format: YYYY-MM-DD HH:mm:ss.

internal_notes
string

Internal notes attached to each conversion. Not visible to affiliates.

revenue_amount
number

Revenue amount per conversion.

is_revenue_amount_submitted
boolean

Whether the revenue_amount value should be applied. Must be true for the revenue_amount to take effect.

payout_amount
number

Payout amount per conversion.

is_payout_amount_submitted
boolean

Whether the payout_amount value should be applied. Must be true for the payout_amount to take effect.

sale_amount
number

Sale amount value per conversion.

adv1
string

Advertiser sub-parameter 1.

adv2
string

Advertiser sub-parameter 2.

adv3
string

Advertiser sub-parameter 3.

adv4
string

Advertiser sub-parameter 4.

adv5
string

Advertiser sub-parameter 5.

email
string

Email value to attach to each conversion.

coupon_code
string

Coupon code value to attach to each conversion.

order_id
string

Order ID value to attach to each conversion.

Response

200 - application/json

OK

result
boolean

Whether the conversions were created successfully.