Campaign Discount Codes

Get a discount code

Changed on
get/v1/campaigns/{campaign}/discount-codes/{discountCode}

Request

  • Base URL
    https://api.givebutter.com
  • URL
    https://api.givebutter.com/v1/campaigns/{campaign}/discount-codes/{discountCode}
  • Auth
    HTTP bearer

Path parameters

campaigninteger required

The campaign ID

discountCodeinteger required

The discount code ID

Response

CampaignDiscountCodeResource

idstring required
campaign_idstring required
itemsstring
codestring required
typestring required
amountnumber required
usedstring required
usesstring required
activestring required
all_itemsstring
include_futurestring
total_discountstring required
starts_atstring required
expires_atstring required
created_atstring required
updated_atstring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status