Retrieves a promo code's object. You need to pass the unique impact.com promo code Id
value that was returned upon promo code creation or when listing promo codes.
Parameters
No parameters.
Returns
Returns a promo code object if a valid identifier is provided. Returns an error for invalid or deleted promo code identifiers.
Example Request
curl 'https://api.impact.com/Advertisers/<AccountSID>/PromoCodes/7777777' \
-X GET \
-u '<AccountSID>:<AuthToken>' \
-H 'Accept: application/json'
Example Response
{
"Id": "7777777",
"Code": "Acme20",
"Type": "LI",
"CreditPolicy": "ALWAYS",
"CampaignId": "1000",
"CampaignName": "AcmeCampaign",
"AssignedPartnerId": "10000",
"AssignedPartnerName": "AcmePartner",
"CreatedDate": "2020-09-10T10:51:23-07:00",
"StartDate": "2020-12-11T10:12:39-08:00",
"EndDate": "2020-12-11T10:13:06-08:00",
"State": "ACTIVE",
"DealId": "00002",
"DealName": "Acme Deal2",
"DealDescription": "",
"DealState": "ACTIVE",
"DealType": "GENERAL_SALE",
"DealScope": "CATEGORY",
"DealProducts": [],
"DealCategories": "Anvils",
"DiscountType": "FIXED",
"DiscountAmount": "20.00",
"DiscountCurrency": "USD",
"DiscountPercent": "",
"DiscountMaximumPercent": "",
"DiscountPercentRangeStart": "",
"DiscountPercentRangeEnd": "",
"Gift": "",
"RebateAmount": "",
"RebateCurrency": "",
"DealDefaultPromoCode": "Acme20",
"MinimumPurchaseAmount": "",
"MinimumPurchaseAmountCurrency": "",
"MaximumSavingsAmount": "",
"MaximumSavingsCurrency": "",
"BogoBuyQuantity": "0",
"BogoBuyScope": "",
"BogoBuyName": "",
"BogoBuyImageUrl": "",
"BogoGetQuantity": "0",
"BogoGetScope": "",
"BogoGetDiscountType": "",
"BogoGetName": "",
"BogoGetImageUrl": "",
"BogoGetDiscountAmount": "",
"BogoGetDiscountCurrency": "",
"BogoGetDiscountPercent": "",
"PurchaseLimitQuantity": "0",
"DealStartDate": "",
"DealEndDate": "",
"SynchAdsPromoCodes": "false",
"DealRestrictedMediaPartners": [],
"DealRestrictedMediaPartnerGroups": [],
"Uri": "/Advertisers/<AccountSID>/PromoCodes/7777777"
}