POST
/
links
/
storefronts
/
{storefront_id}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

storefront_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

Response

200 - application/json
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
levantaProductCount
number
required