POST
/
links
/
cpc
/
{campaign_id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
string
required

UUID

Body

application/json
source_id
string

An ID that identifies where the created link will be used. Allowed characters: [a-zA-Z0-9-_@./ ]

Required string length: 1 - 256
source_sub_id
string

An ID that identifies where the created link will be used. Allowed characters: [a-zA-Z0-9-_@./ ]

Required string length: 1 - 256
source_name
string
default:

Display name for the source within Levanta

Maximum length: 250
auto_join
enum<string>
default: true

Whether or not to join the campaign if not yet joined

Available options:
true,
false

Response

200 - application/json
asin
string
required

Amazon Standard Identifier (ASIN) for an Amazon product. Example: B09G9FPHY6

id
string
required
sourceId
string
required

An ID that identifies where the created link will be used. Allowed characters: [a-zA-Z0-9-_@./ ]

sourceSubId
string
required

An ID to further identify the link underneath the source_id namespace. Allowed characters: [a-zA-Z0-9-_@./ ]

sourceName
string
required

Display name for the source within Levanta

url
string
required
active
boolean
required

Whether or not the link is active. Inactive links do not earn commissions.

type
enum<string>
required

The type of the link. Product links are for amazon asin pages. Storefront links are for amazon storefront pages.

Available options:
product,
storefront
marketplace
enum<string>
required

The marketplace the link is associated with

Available options:
amazon.com,
amazon.co.uk,
amazon.ca,
amazon.de,
amazon.fr
cpcCampaignId
string
required

The ID of the CPC campaign for the link