Skip to content

List applied coupons

GET
/portal/coupons

List all coupons applied to the authenticated customer.

token
required
Token
string

Successful Response

Response List Portal Coupons
Array<object>
PortalAppliedCouponResponse

Response for a portal-applied coupon with user-friendly details.

object
id
required
Id
string format: uuid
coupon_code
required
Coupon Code
string
coupon_name
required
Coupon Name
string
coupon_type
required
Coupon Type
string
amount_cents
Any of:
string
/^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$/
amount_currency
Any of:
string
percentage_rate
Any of:
string
/^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$/
frequency
required
Frequency
string
frequency_duration
Any of:
integer
frequency_duration_remaining
Any of:
integer
status
required
Status
string
created_at
required
Created At
string format: date-time

Invalid or expired portal token

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object