ProductsSet a model redemption URL

Set a model redemption URL

Sets the redemption URL for a specific product model.

curl -X POST "http://localhost:8080/api/products/123/models/123/redeem_url" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -d '{
  "redeem_url": "example_string"
}'
{
  "success": true
}
POST
/api/products/{product_id}/models/{model_id}/redeem_url
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT access token, or refresh token for the token refresh endpoint.

JWT access token, or refresh token for the token refresh endpoint.
path
product_idinteger
Required

Product identifier.

Format: int64
path
model_idinteger
Required

Shopee model identifier.

Format: int64
Content-Typestring
Required

The media type of the request body

Options: application/json
redeem_urlstring
Required

Redemption URL to assign.

Format: uri
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT access token, or refresh token for the token refresh endpoint.

Path Parameters

product_idinteger
Required

Product identifier.

model_idinteger
Required

Shopee model identifier.

Body

application/json
redeem_urlstring
Required

Redemption URL to assign.

Responses

successboolean
Required

Whether the operation succeeded.