Retrieves the object of an existing deal. You need to pass the unique impact.com deal Id
value that was returned upon deal creation or when listing deals.
Parameters
No parameters.
Returns
Returns a deal object object if a valid identifier is provided. Returns an error for invalid or deleted deal identifiers.
Example Request
curl 'https://api.impact.com/Advertisers/<AccountSID>/Deals/00003' \
-X GET \
-u '<AccountSID>:<AuthToken>' \
-H 'Accept: application/json'
Example Response
{
"Id": "00003",
"Name": "AcmeDeal3",
"Description": "",
"CampaignId": "10000",
"State": "ACTIVE",
"Type": "GENERAL_SALE",
"Scope": "PRODUCT",
"Products": [
{
"ProductName": "Gray Anvil",
"ProductImageUrl": "/images/Gray_Anvil.png",
"ProductBeforePriceAmount": "50.00",
"ProductBeforePriceCurrency": "USD",
"ProductAfterPriceAmount": "45.00",
"ProductAfterPriceCurrency": "USD"
}
],
"Categories": "",
"DiscountType": "FIXED",
"DiscountAmount": "5.00",
"DiscountCurrency": "USD",
"DiscountPercent": "",
"DiscountMaximumPercent": "",
"DiscountPercentRangeStart": "",
"DiscountPercentRangeEnd": "",
"Gift": "",
"RebateAmount": "",
"RebateCurrency": "",
"DefaultPromoCode": "APlusAnvils",
"MinimumPurchaseAmount": "",
"MinimumPurchaseAmountCurrency": "",
"MaximumSavingsAmount": "",
"MaximumSavingsCurrency": "",
"BogoBuyQuantity": "0",
"BogoBuyScope": "",
"BogoBuyName": "",
"BogoBuyImageUrl": "",
"BogoGetQuantity": "0",
"BogoGetScope": "",
"BogoGetDiscountType": "",
"BogoGetName": "",
"BogoGetImageUrl": "",
"BogoGetDiscountAmount": "",
"BogoGetDiscountCurrency": "",
"BogoGetDiscountPercent": "",
"PurchaseLimitQuantity": "0",
"StartDate": "",
"EndDate": "",
"SynchAdsPromoCodes": "false",
"RestrictedMediaPartners": [],
"RestrictedMediaPartnerGroups": [],
"Uri": "/Advertisers/<AccountSID>/Deals/00003"
}