Skip to main content

Claim shop's shortlink

A Shortlink is used to identify the affiliate associated with a shop, rather than a specific product. This short link can be used on the homepage or promotion page. Followers of the affiliate can make purchases using this Shortlink, and any orders placed within this timeframe will be attributed to the respective affiliate.

Method: POST

body

{
"partnerShopId": "string",
"rawLink": "string",
"extensionCode": "string"
}
  • partnerShopId Shop ID: The shop id can be get from Fetch shops Api

  • rawLink For example, if you want to generate a short link for https://superpartner888.myshopify.com/promotion to share with your followers, the raw link should be https://superpartner888.myshopify.com/promotion. The API will then generate a short link that includes tlref and utm data appended to the link.

  • extensionCode The field is for extensions. If you have sub-affiliates and need to identify which promotional orders belong to a specific sub-affiliate, you can use this field for marking. If the specified sub-affiliate completes an order transaction, we will return this field in the bill or order, making it easier for you to track the sales volume of your sub-affiliates.

Notice

The extensionCode must consist of a combination of numbers and letters.

Response

{
"data": "string",
"message": "string",
"params": [
{}
],
"requestId": "string",
"status": 0
}
  • data short link which generate by api

:::