ProductsGet a product

Get a product

Returns one product by its identifier.

curl -X GET "http://localhost:8080/api/products/123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
{
  "id": 123,
  "shopee_item_id": 123,
  "name": "John Doe",
  "shop_id": 123,
  "redeem_url": "example_string",
  "boost_enabled": true
}
GET
/api/products/{product_id}
GET
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
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.

Responses

idinteger
Required

Product identifier.

shopee_item_idinteger
Required

Shopee item identifier.

namestring
Required

Product name.

shop_idinteger
Required

Shop identifier.

redeem_urlstring
Required

Product-level redemption URL.

boost_enabledboolean
Required

Whether boosting is enabled.