app_id | The identifier of the app within the API product |
app_secret | The secret associated with the app. |
Fetch a new token for your app, in order to make further requests to the cartelux API
app_id | The identifier of the app within the API product |
app_secret | The secret associated with the app. |
Check whether an amount will work on the company account
amount | The amount of the payment |
Return the company that this app belongs to
all | Optional, return all associated companies |
inherit | Optional, apply inheritance rule to all associated companies (Note - this will heavily impact response time) |
Return the details of the company account
Create (or update the details of) a linked user.
List the orders within a company
api_dealer_id | Optional, the id matching the 'api-dealer-id' attachment against the company |
Detailed information about a specific order
id | the id of the order in the marketing product |
Fetch the status of the specific order
id | the id of the order in the marketing product |
Lists all the videos for preview
id | the id of the order in the marketing product |
Checks/Sets an order as approved so it can move on to the next stage
id | the id of the order in the marketing product |
check | Optional - check whether the order can be approved or if there's any issues. |
amount | The dollar amount for the order. |
stripe_payment_id | Optional - a stripe payment id that matches the order amount, for recouping the cost. |
Sets an order as removed - cancels an order
id | the id of the order in the marketing product |
List analytics of an order
order_id | the id of the order in the marketing product |
channel | Optional - which channel to fetch analytics for eg. google_video, google_display, google_search |
breakdown_by | Optional, return the analytics for a specific segment eg. gender, overall, age, device, country, region, network, parental |
start_date | the start date of the analytics to return (inclusive) eg. 2022-05-21 |
end_date | the end date of the analytics to return (inclusive) eg. 2022-05-27 |
List analytics of an order
order_id | the id of the order in the marketing product |
channel | Optional - which channel to fetch analytics for eg. video, display, search |
start_date | Optional - the start date of the analytics to return (inclusive) eg. 2022-05-21 |
end_date | Optional - the end date of the analytics to return (inclusive) eg. 2022-05-27 |
Create a new order within the marketing product.
start_date | yyyy-mm-dd (2020-02-02) |
end_date | yyyy-mm-dd (2020-02-05) |
cta | This determines the button text and header text for your ad. Valid options are: BOOK_TRAVEL, CONTACT_US, DONATE, DONATE_NOW, DOWNLOAD, GET_DIRECTIONS, GO_LIVE, INTERESTED, LEARN_MORE, LIKE_PAGE, MESSAGE_PAGE, SAVE, SEND_TIP, SHOP_NOW, SIGN_UP, VIEW_INSTAGRAM_PROFILE, INSTAGRAM_MESSAGE, LOYALTY_LEARN_MORE, GET_MOBILE_APP, INSTALL_MOBILE_APP, USE_MOBILE_APP, INSTALL_APP, USE_APP, PLAY_GAME, WATCH_VIDEO, WATCH_MORE, OPEN_LINK, NO_BUTTON, LISTEN_MUSIC, MOBILE_DOWNLOAD, GET_OFFER, GET_OFFER_VIEW, BUY_NOW, BUY_TICKETS, UPDATE_APP, BET_NOW, ADD_TO_CART, ORDER_NOW, SELL_NOW, GET_SHOWTIMES, LISTEN_NOW, GET_EVENT_TICKETS, SEARCH_MORE, PRE_REGISTER, BOOK_TEST_DRIVE, CHECK_AVAILABILITY, CALL, MISSED_CALL, CALL_NOW, CALL_ME, APPLY_NOW, BUY, GET_QUOTE, SUBSCRIBE, RECORD_NOW, VOTE_NOW, GIVE_FREE_RIDES, REGISTER_NOW, OPEN_MESSENGER_EXT, EVENT_RSVP, CIVIC_ACTION, SEND_INVITES, REQUEST_TIME, SEE_MENU, WHATSAPP_MESSAGE, SEARCH, TRY_IT, TRY_ON, LINK_CARD, DIAL_CODE, FIND_YOUR_GROUPS |
fields | Where all the random data sits that was sent through via a form. |
landing_page | |
user_id | The social token user identifier for export channels |
headline | |
subheadline | |
description | |
disclaimer | |
logo | |
primary_colour | |
secondary_colour | |
video_template_id | The template_id that should be used for the video |
channels | All the export channel selections and overrides |
video_overrides | All the overrides to be used in the video product |
Fetch the analytics for a given campaign id
protocol_shortcode | the identifier of the protocol for which the languages belong |
campaign_id | which campaign to fetch analytics for (facebook/google/etc campaign id, not order id) |
breakdown_by | Optional, return the analytics for a specific segment eg. gender |
timeframe | today, yesterday, etc. |
Lists all the languages available for the given protocol
protocol_shortcode | the identifier of the protocol for which the languages belong |
Lists all the interests available for the given protocol
protocol_shortcode | the identifier of the protocol for which the interests belong |
Lists all the behaviors available for the given protocol
protocol_shortcode | the identifier of the protocol for which the behaviors belong |
Lists all the life events available for the given protocol
protocol_shortcode | the identifier of the protocol for which the life events belong |
Lists all the industries available for the given protocol
protocol_shortcode | the identifier of the protocol for which the industries belong |
Lists all the countries available for the given protocol
protocol_shortcode | the identifier of the protocol for which the countries belong |
Lists all the regions available for the given protocol and country
protocol_shortcode | the identifier of the protocol for which the regions belong |
country_code | the identifier of the country for which the regions belong |
Lists all the cities available for the given protocol, country, and region
protocol_shortcode | the identifier of the protocol for which the cities belong |
country_code | the identifier of the country for which city belongs |
city | the city name |
Lists all the pages available under the user identified by user_id for the given protocol
protocol_shortcode | the identifier of the protocol for which the pages belong |
user_id | user id of the user that has been created on our system |
Check if user already exists in our database against the supplied protocol
protocol_shortcode | the identifier of the protocol for which the pages belong |
id | user id that is returned when user was created on our system. |
Check if we have permission for the requested page.
protocol_shortcode | the identifier of the protocol for which the industries belong |
Send request to give permission for the page.
protocol_shortcode | the identifier of the protocol for which the industries belong |
This redirects the user to a login page for the requested protocol, so it's best to redirect the user to this by way of a form submission.
protocol_shortcode | the identifier of the protocol to authenticate against |
access_token | an access token which can be fetched via the /oauth/token action |
id | an identifier for the user within your system |
identifier | an identifier is a custom text string used to identify the user eg. name, franchise |
Lists all the templates available to your company