Claim short link.
POST/api/affiliate/promotion/:id/claim/link
Claim a link. It will generate a link if you didn't claim before. Otherwise the exist short link will be return
Request
Path Parameters
id stringrequired
Product Id
- application/json
Body
extensionCode string
Extension Code
Responses
- 200
- 201
- 401
- 403
- 404
OK
- */*
- Schema
- Example (from schema)
Schema
data
object
申请短链的响应类
haveOtherProductNotClaim boolean
是否还有在同一个品牌商下的其他产品没有领取
shortLink string
短链
message string
params object[]
requestId string
status int32
{
"data": {
"haveOtherProductNotClaim": false,
"shortLink": "string"
},
"message": "string",
"params": [
{}
],
"requestId": "string",
"status": 0
}
Created
Unauthorized
Forbidden
Not Found
Loading...