cURL
curl --request POST \ --url https://app.levanta.io/api/creator/v2/preview/links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "product": { "primary_id": "<string>", "marketplace": "amazon.com" }, "subid1": "<string>", "subid2": "<string>" }'
{ "id": "<string>", "type": "product", "marketplace": "amazon.com", "url": "<string>", "mobileOptimizedUrl": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The product link to create
The body is of type object.
object
Success
The response is of type object.