Examples

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X PUT -d '{"payout": 9, "duration": 120}' https://[your-subdomain].trackdrive.com/api/v1/offer_conversions/1008923

Params

Param name
Description
Validations
serializer
Optional Blank Value Allowed

This endpoint supports multiple response formats. Pass serializer=name to retrieve data in an alternate format.

Validations:

  • Must be a value contained in the pick list:
    Acceptable ValueDescription
    offer_conversionDefault response format.
    offer_conversion_gridModern response format that returns various foreign keys for use with other API endpoints.
payout_type
Optional

Payout Type

Validations:

  • Must be one of: usd, buyer_conversion_percent.

payout
Optional Blank Value Allowed

Payout

Validations:

  • Must be a decimal number.

revenue_percentage
Optional Blank Value Allowed

Revenue Percentage

Validations:

  • Must be a decimal number.

duration
Optional

Duration

Validations:

  • Must be a decimal number.

duplicate_timeframe
Optional

Duplicate Timeframe

Validations:

  • Must be a decimal number.

name
Optional

Name

Validations:

  • Must be a String

record_token_filter_list
Optional Blank Value Allowed

Assign filters to the object by passing an array of key:value pairs

Validations:

  • Must be a valid list of filters. Example filters:
    "interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"
sortable_order
Optional Blank Value Allowed

Sortable Order

Validations:

  • Must be a decimal number.