Get entitled products

  • Since SDK: 20

Get list of product Ids that are entitled via third-party entitlements.

adobe.dps.store.getEntitledProducts

Parameter Type Description
callback

getEntitledProductsFunction

Function that will be receive an array of Store Product Ids.

getEntitledProductsFunction

Parameter Type Description
products

productArray

Array of entitled product ids.
productId

string

A list of product IDs.

API Snippet

getEntitledProducts

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>getEntitledProducts API</title>
<script type="text/javascript">
window.onadobedpscontextloaded = loadPage;
function loadPage()
{
  // call into the getEntitledProducts API
  if (window.adobedpscontextloaded)
  {
    adobe.dps.store.getEntitledProducts(my_callback);
  }
}
</script>
</head>

<body>
</body>
</html>