Skip to main content

Retrieve a specific coupon

GET 

/api/v3/coupon/:coupon_id

Allows you to retrieve a specific coupon based on its coupon_id.

Request

Responses

Object was fetched successfully

Schema

    code integer
    status string
    message stringnullable
    details objectnullable

    response

    object

    coupon_id integer

    The coupon ID #

    code string

    Coupon code

    descrip string

    Description

    type string

    Coupon type

    discount_item_id integer

    Item ID # or related discount (if applicable)

    enabled boolean

    Enabled/disabled

    discount array

    Discount details

    freetrial array

    Free trial details

    write_datetime string

    Date/time the coupon was created

    write_ipaddr string

    IP address that created the coupon

Loading...