Fetch offer details for specific customer

Changed on

This endpoint is an extension of basic fetch offer details. Additionally, it returns field trialAvailable field and throws an error when a customer already has access.

Note: Please note that this endpoint will not return taxes for the USA and Canada. Taxes will only be shown during the checkout process (they are returned in the order method: Create order or Get an order).

get/offers/{offerId}/customers/{customerEmail}

Request

  • Base URL
    https://mediastoreapi-sandbox.cleeng.com
  • URL
    https://mediastoreapi-sandbox.cleeng.com/offers/{offerId}/customers/{customerEmail}
  • Auth
    none required

Path parameters

offerIdstring required
customerEmailstring required

Query parameters

customerIPstring

Recommended. IP address of customer current location. Add this param to get offer details for a specific location (e.g. the price may vary depending on the country tax policy)

Response

200

Example response

{
  "responseData": {
    "offerId": "S567921766_NL",
    "offerPrice": 22.22,
    "offerCurrency": "EUR",
    "offerCurrencySymbol": "€",
    "offerCountry": "NL",
    "customerPriceInclTax": 22.58,
    "customerPriceExclTax": 18.36,
    "customerCurrency": "EUR",
    "customerCurrencySymbol": "€",
    "customerCountry": "PL",
    "offerUrl": "https://google.com.ua",
    "offerTitle": "Monthly subscription (recurring) to qadigger",
    "active": true,
    "createdAt": 1580116969,
    "updatedAt": 1580116969,
    "applicableTaxRate": 0.21,
    "averageRating": 4,
    "period": "month",
    "accessToTags": [
      "(all)"
    ]
  }
}

Changes