Coupon Associations

List coupon associations

Changed on

List coupon associations with optional filters. Coupon associations are created and removed via the subscription modify API.

get/coupons/associations

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/coupons/associations
  • Auth
    API key in header x-api-key

Query parameters

subscription_idsstring[]

Filter by subscription IDs (max 100)

coupon_idsstring[]

Filter by coupon IDs (max 100)

active_onlyboolean

Return only currently active associations

expandstring

Comma-separated fields: coupon, subscription_line_items, subscription_line_items.prices

limitinteger

Page size

offsetinteger

Page offset

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