Subscriptions

Search subscription line items

Changed on

List subscription line items with a JSON filter (subscription, customer, price, pagination, expand=prices, etc.).

post/subscriptions/lineitems/search

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/subscriptions/lineitems/search
  • Auth
    API key in header x-api-key

Request body

active_filterboolean
addon_association_idsstring[]
billing_periodsstring[]
currenciesstring[]
current_period_startstring date-time
customer_idsstring[]
end_timestring date-time
entity_idsstring[]
entity_type'plan' | 'addon' | 'subscription'
expandstring
limitinteger
meter_idsstring[]
offsetinteger
order'asc' | 'desc'
price_idsstring[]
start_timestring date-time
status'published' | 'deleted' | 'archived'
subscription_idsstring[]
subscription_line_item_idsstring[]

Specific filters

Response

OK

Changes

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status