Retrieve a deal

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 valid identifiers are provided as path parameters. Returns an error for invalid or deleted deal identifiers.

Example Request


curl 'https://api.impact.com/Mediapartners/<AccountSID>/Campaigns/<CampaignId>/Deals/<Id>' \
  -X GET \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json'

Example Response


{
  "Id": "12345",
  "Name": "ACME Deal",
  "Description": "This is the latest deal by ACME! Check it out.",
  "CampaignId": "10000",
  "State": "ACTIVE",
  "Type": "GENERAL_SALE",
  "Scope": "ENTIRE_STORE",
  "Public": "FALSE",
  "Products": [],
  "Categories": "",
  "DiscountType": "FIXED",
  "DiscountAmount": "",
  "DiscountCurrency": "",
  "DiscountPercent": "",
  "DiscountMaximumPercent": "",
  "DiscountPercentRangeStart": "",
  "DiscountPercentRangeEnd": "",
  "Gift": "",
  "RebateAmount": "",
  "RebateCurrency": "",
  "DefaultPromoCode": "",
  "MinimumPurchaseAmount": "",
  "MinimumPurchaseAmountCurrency": "",
  "MaximumSavingsAmount": "",
  "MaximumSavingsCurrency": "",
  "BogoBuyQuantity": "0",
  "BogoBuyScope": "",
  "BogoBuyName": "",
  "BogoBuyImageUrl": "",
  "BogoGetQuantity": "0",
  "BogoGetScope": "",
  "BogoGetDiscountType": "",
  "BogoGetName": "",
  "BogoGetImageUrl": "",
  "BogoGetDiscountAmount": "",
  "BogoGetDiscountCurrency": "",
  "BogoGetDiscountPercent": "",
  "PurchaseLimitQuantity": "0",
  "StartDate": "",
  "EndDate": "",
  "DateCreated": "2020-05-18T18:28:28-07:00",
  "DateLastUpdated": "2021-02-16T15:27:11-08:00",  
  "Uri": "/Mediapartners/<AccountSID>/Campaigns/1234/Deals/10000.json"
}