Skip to main content
GET
/
points_products
List points products
curl --request GET \
  --url https://api.smile.io/v1/points_products \
  --header 'Authorization: Bearer <token>'
{
  "points_products": [
    {
      "id": 132456921,
      "exchange_type": "variable",
      "exchange_description": "100 Points = $1 off",
      "points_price": 123,
      "variable_points_step": 100,
      "variable_points_step_reward_value": 1,
      "variable_points_min": 100,
      "variable_points_max": 5000,
      "reward": {
        "id": 924565472,
        "name": "Order discount",
        "description": "<string>",
        "image_url": "https://platform-images.smilecdn.co/3755938.png",
        "created_at": "2024-04-04T15:10:42.030Z",
        "updated_at": "2024-04-04T15:10:42.030Z"
      },
      "created_at": "2024-04-04T15:10:42.030Z",
      "updated_at": "2024-04-04T15:10:42.030Z"
    }
  ]
}
This endpoint requires the scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

exchange_type
enum<string>

Filter results to only points products with the provided exchange_type.

Available options:
fixed,
variable
Example:

"variable"

page_size
integer
default:50

The maximum number of points products to retrieve.

Required range: 1 <= x <= 250
page
integer
default:1

The page of points products to retrieve.

Response

200 - application/json

The points products were successfully retrieved.

points_products
object[]