RedemptionLook up an order for redemption

Look up an order for redemption

Looks up an order and returns the redemption URLs associated with its items and models. This public endpoint is rate limited to 20 requests per minute per IP address.

curl -X POST "http://localhost:8080/api/redemption" \
  -H "Content-Type: application/json" \
  -d '{
  "order_id": "example_string"
}'
{
  "response": [
    {
      "shopee_item_id": 123,
      "item_name": "John Doe",
      "shopee_model_id": 123,
      "model_name": "John Doe",
      "quantity": 42,
      "redeem_url": "example_string"
    }
  ],
  "warnings": [
    {
      "type": "example_string",
      "message": "example_string"
    }
  ]
}
POST
/api/redemption
POST
Base URLstring

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

Content-Typestring
Required

The media type of the request body

Options: application/json
order_idstring
Required

Shopee order identifier.

Request Preview
Response

Response will appear here after sending the request

Body

application/json
order_idstring
Required

Shopee order identifier.

Responses

responsearray
Required

Redemption entries found for the order.

warningsarray
Required

Non-fatal warnings generated during lookup.