API

MarketingSetting

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/marketing_settings load Current homepage call-to-action mode

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

marketing_setting, err := client.MarketingSetting(nil).Load(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(marketing_setting)

Lua

Construct client as shown in the Lua setup, then call the operations:

local marketing_setting, err = client:MarketingSetting():load()

PHP

Construct client as shown in the PHP setup, then call the operations:

$marketing_setting = $client->MarketingSetting()->load();

Python

Construct client as shown in the Python setup, then call the operations:

marketing_setting = client.MarketingSetting().load()

Ruby

Construct client as shown in the Ruby setup, then call the operations:

marketing_setting = client.MarketingSetting.load()

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const marketing_setting = await client.MarketingSetting().load()

Fields

Field Type Required Description
call_first boolean Yes Call First

load

GET /api/v1/marketing_settings

Operation ID: api_v1_marketing_settings.

Authentication: not required.

Responses

200: Current homepage call-to-action mode

application/json

Property Type Required Description
call_first boolean Yes