Product Catalogue
You can access your product catalogue via a single request. This endpoint will show you the complete of products and their respective Ids, which can be used in an order to activate new eSIMs or topup existing ones.
#
Example Requestcurl -X GET \ https://services.truphone.com/connect-api/v1/products \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'X-Correlation-ID: unique-id-from-requester-123'
#
Example Response[ { "id": "a3m*********gIAK", "name": "PrePaid Data 3GB 30-Day", "description": "PrePaid Data 3GB 30-Day", "period": 30, "period_unit": "DAYS", "data": { "value": 3, "units": "GB" }, "footprint": ["AG", "...", "VN"], "activeCountries": ["ALL"], "pricing": { "USD": 42.0 }, "region": "TIER1", "sim_type": ["ESIM"] }]