POST
/
links

Authorizations

Authorization
string
headerrequired

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

Body

application/json
asin
string
required

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

marketplace
enum<string>
default: amazon.com

The marketplace the product is associated with

Available options:
amazon.com,
amazon.co.uk,
amazon.ca,
amazon.de,
amazon.fr
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
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