Skip to main content
GET
List the tenant's discount applications and pending assignments

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Sorgu Parametreleri

page
integer | null

Page number for applied discount history.

Gerekli aralık: x >= 1
per_page
integer | null

Applied discount history rows per page (maximum 100).

Gerekli aralık: 1 <= x <= 100
pending_page
integer | null

Page number for pending discount assignments, independent of applied history.

Gerekli aralık: x >= 1
pending_per_page
integer | null

Pending discount assignments per page (maximum 100).

Gerekli aralık: 1 <= x <= 100
assigned_at_from
string<date-time> | null

Include pending assignments at or after this timestamp.

assigned_at_to
string<date-time> | null

Include pending assignments through this timestamp or the end of this date.

applied_at_from
string<date-time> | null

Include applications at or after this timestamp.

applied_at_to
string<date-time> | null

Include applications through this timestamp or the end of this date.

Yanıt

Paginated set of BillingDiscountApplicationResource

data
BillingDiscountApplicationResource · object[]
gerekli
meta
object
gerekli
pending_assignments
TenantDiscountAssignmentResource · object[]
gerekli
pending_meta
object
gerekli