List Card Products

Learn how to retrieve card products’ information.

Overview

In this lesson, we’ll learn how to get a list of all existing card products. We’ll also learn how to get information about a specific card product we choose.

Endpoints

Get all card products

We can get a list of all card products by making a GET request to the {BASE_URL}/cardproducts endpoint. This gives us a list of all existing card products with their details. This endpoint also supports pagination, which allows us to retrieve a specific range of resources from the sorted list of returned resources.

Get a single card product

Similarly, we can get a single card product by making a GET request to the {BASE_URL}/cardproducts/{token} endpoint. The path parameter ({token}) refers to the token of the card product that we want to retrieve.

Request parameters

Get hands-on with 1200+ tech skills courses.