Cleeng Single Offer API Reference

After purchasing Single Offer, user has unlimited access to the content from any device.

Read more about all types of Cleeng Offers in Creating Offers

Single Offer object properties

Name Description
offerId Offer identifier
publisherEmail Email to offer owner. Can be set to associate e-mail address by distributor.
url http://site.com/with-your-content
title Title of the offer, up to 70 chars
description Define a short, but powerful sales message about this offer. Up to 110 chars
price Float, from 0.15 up to 99.99
applicableTaxRate VAT rate
currency Offer currency same as publisher's currency. Can be changed from my account setting
socialCommissionRate Learn more about social commission at Cleeng Blog
contentType Choose type from: article / video / download / image
contentExternalId This parameter is for your own usage. You can put here id of article or video, anything what can make your offer clearer for you. Up to 50 chars.
contentExternalData If you want to store a few extra elements related to the sale you can use this string to store additional data. Up to 4kb chars.
contentAgeRestriction The minimum age for which it is intended contents offer.
tags Tags attached to offer. Read more.
averageRating Float, from 1 to 5
active If the offer is able to buy, to deactivate offer use deactivateSingleOffer method
createdAt unix timestamp
updatedAt unix timestamp

List of Single Offer API methods

  1. getSingleOffer
  2. listSingleOffers
  3. createSingleOffer
  4. updateSingleOffer
  5. deactivateSingleOffer
  6. createMultiCurrencySingleOffer
  7. updateMultiCurrencySingleOffer

 

Back to Table Of Contents