Get promotions by ID
With the /promotions/{promotionid}
endpoint, you can fetch the details of a promotion by making a request with its ID
Promotions by ID
GET
https://topups.reloadly.com/promotions/{promotionid}
Path Parameters
promotionId
integer
The promotion's ID
Headers
Authorization
string
Your access token is required as a bearer token in the request's header
{
"promotionId":5,
"operatorId":114,
"title":"Movistar Ecuador From 01 Jan 2018 00:00 To 01 Jul 20",
"title2":"Bonus 2x",
"description":"For top ups of USD$2.00 (EUR 5) or more",
"startDate":"Mon, 01 Jan 2018 05:00:00 +0000",
"endDate":"Mon, 02 Jul 2018 04:59:00 +0000",
"denominations":"USD 2 and up",
"localDenominations":null
}
Request samples
curl --location --request GET 'https://topups.reloadly.com/promotions/8652' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN_HERE' \
--header 'Accept: application/com.reloadly.topups-v1+json'
Response parameters
Parameter
Type
Description
promotionId
integer
The promotion ID. This is a unique identifier for the ongoing promotion
operatorId
integer
Indicates the ID of the operator offering the promotion
title1
string
Indicates the duration of the promotion and the name of the operator offering it
title2
string
Indicates additional information on the promotion
description
string
This indicates a summary of what the promotion is about
startDate
string
The date the promotion begins
endDate
string
The date the promotion ends
denominations
string
Indicates the top-up amounts that are eligible for the promotion
localDenominations
string
Indicates the local top-up amounts in the destination's currency that are eligible for the promotion
Last updated
Was this helpful?