Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
This API returns the price that is registered on a Coupon. It also returns the distribution cost ets. if parameters for country code and postal code are set.
couponCode required | string <= 12 characters Coupon code |
couponNumber required | integer Coupon number |
customerNumber | integer Customer number |
countryCode | string <= 3 characters The country code - ISO 3166 - alpha-2. |
postalCode | string <= 10 characters Postal code for address |
OK
companyCode | string <= 12 characters Company code |
product | string <= 12 characters Product code |
price | number decimal places <= 2 Price |
vatAmount | number decimal places <= 2 Vat amount |
vatpercent | number decimal places <= 2 Vat percentage |
vatInclude | boolean Informs if vat is included or not
|
currency | string <= 3 characters Currency standard - ISO4217 - alphabetic code. |
distAmount | number decimal places <= 2 Amount for distribution price |
distAmountvat | number decimal places <= 2 Vat amount on dist amount. |
customerNumber | integer Customer Number |
Bad Request
Too Many Requests
Internal Server Error
{- "couponCode": "TOTT",
- "couponNumber": 60,
- "customerNumber": 10,
- "countryCode": "NO",
- "postalCode": "1273"
}
{- "companyCode": "FTOTT",
- "product": "TOTT",
- "price": 100,
- "vatAmount": 25,
- "vatpercent": 25,
- "vatInclude": false,
- "currency": "NOK",
- "distAmount": 0,
- "distAmountvat": 0,
- "customerNumber": 10
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
This API returns all coupons for a subscription product. You may also use this API to check the price at the next renewal.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "coupons": [
- {
- "couponCode": "DataNews",
- "couponNumber": 27,
- "startTime": 1529405788000,
- "endTime": 1534676188000,
- "description": "Students only",
- "couponPrice": "299",
- "periodLength": "1",
- "periodType": "months",
- "extraProducts": [
- {
- "productId": "29542",
- "description": "Newspaper about ICT"
}
], - "renewal": [
- {
- "renewalPrice": "199",
- "periodLength": "1",
- "periodType": "months"
}
]
}
]
}