Coupon Associations

Get coupon association

Changed on

Get a single coupon association by ID. Coupon associations are created and removed via the subscription modify API.

get/coupons/associations/{id}

Request

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

Path parameters

idstring required

Coupon Association ID

Response

OK

coupon_idstring
created_atstring date-time
created_bystring
end_datestring date-time

Optional

environment_idstring
idstring
metadataobject
start_datestring date-time
status'published' | 'deleted' | 'archived'
subscription_idstring

Mandatory

subscription_line_item_idstring

Optional

subscription_phase_idstring

Optional

tenant_idstring
updated_atstring date-time
updated_bystring

Changes

    • info

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

    • info

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