Skip to main content

Retrieve all CouponCodes related to this Coupon

GET 

/coupon/:guid/codes

Retrieve all CouponCodes related to a Coupon. The CouponCodes are the objects that are actually applied to the applied to type of the Coupon to get discount.

Request

Path Parameters

    guid stringrequired

    The guid of the Coupon to get the CouponCodes from.

Responses

CouponCodes found.

Schema

  • Array [

  • guid uuidrequired

    The guid of the CouponCode.

    company_id uuid

    The guid of the Company associated with the CouponCode.

    coupon_guid uuidrequired

    The guid of the Coupon (Campaign) the CouponCode belongs to.

    code stringrequired

    Possible values: >= 4 characters

    The actual code.

    applies_to_count integer

    Possible values: >= 1 and <= 9999999999

    Default value: 1

    The maximum number of times this CouponCode can be applied within a single Order.

    used_amount float

    The amount of monetary value for which this CouponCode is used.

  • ]

Loading...