Do take note on individual promo item's conditions and effective period in GMT timezone.
curl --location --request POST 'https://oteapi.webnic.cc/domain/v2/exts/promo/pricing' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"transtype": "register",
"ext": "com"
}'{
"code": "1000",
"message": "Command completed successfully.",
"data": [
{
"ext": "cloud",
"term": 1,
"transType": "register",
"oriPrice": 20,
"promoPrice": 4.99,
"savedPercent": 75,
"savedAmount": 15.01,
"startDate": "2023-12-31T16:00:00Z",
"endDate": "2024-12-31T15:59:59Z"
},
{
"ext": "world",
"term": 1,
"transType": "register",
"oriPrice": 37.5,
"promoPrice": 1.85,
"savedPercent": 95,
"savedAmount": 35.65,
"startDate": "2024-11-14T16:00:00Z",
"endDate": "2025-02-20T15:59:00Z"
},
{
"ext": "digital",
"term": 1,
"transType": "register",
"oriPrice": 37,
"promoPrice": 2.4,
"savedPercent": 94,
"savedAmount": 34.6,
"startDate": "2024-11-14T16:00:00Z",
"endDate": "2025-02-20T15:59:00Z"
}
]
}