Bulk claim product's shortlink by product ID
Find the brand owner of this product ID, then claim all promotional products under that brand owner in bulk.
Notice
If you claim all products under a certain brand owner, any orders made for other products facilitated by the Shortlink of any product under that brand owner will also be attributed to the affiliate.
/api/affiliate/promotion/{id}/claim/links
Method: POST
Parameters
- id
Product ID: Identifies the product for which the Shortlink will be claimed.
Notice
This is product id, It is not brand id.
Body
- 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
This API does not return the claimed Shortlink. You can retrieve the Shortlink of the product by using the /api/affiliate/promotion/products endpoint.
{
"data": {},
"message": "string",
"params": [
{}
],
"requestId": "string",
"status": 0
}