JSON-RPC updateSubscriptionOffer method is deprecated.

Update your subscription offer. Read more about all types of offers here. If property is omitted, it won't be updated.



This API is no longer supported for offers with localized versions. If you would like to create or modify an offer with localizations, you can do so directly in the Cleeng dashboard.


publisherToken*stringYou can find your publisher token at api-keys page.
offerId*stringSingle offer identifier
offerData*objectNo description
-price*floatOffer price (in publisher's currency), value between 0.14 and 99.99 in publishers currency. It will be taken from customer at a specific time period.
-period*stringSubscription period: week / month / 3months / 6months / year.
-title*stringTitle of your subscription offer. Up to 70 chars
-url*stringUrl to your content described in the offer
-description*stringDescribe your subscription offer here. Up to 110 chars
-freePeriods*intSet your free periods number
-freeDays*intSet your free days number
-accessToTags*arrayTo which tags customer has access. Multiple tags are defined as "OR" (not "AND"). Set "(all)" if you want to give access to all of your offers.
-geoRestrictionEnabled*boolSet "true" to enable geo-restriction on this offer
-geoRestrictionType*stringChoose type of geo-restriction: whitelist / blacklist
-geoRestrictionCountries*arrayBased on geoRestrictionType, set the array of whitelisted/blacklisted countries.

API Request/Response


      "title":"not test anymorre",
      "description":"my first update with Cleeng",


    "publisherEmail":"[email protected]",
    "title":"not test anymorre",
    "description":"my first update with Cleeng",

PHP Example

    $offerId = 'S123123213_US';

    $offerSetup = array(
    'price' => 14.00,
    'description' => 'Christmas sale! Get access to every Bip Bip and Coyote episode for only 14$/month'

    $cleengApi = new Cleeng_Api();

    $cleengApi->updateSubscriptionOffer($offerId, $offerSetup);