User Guide

Table Of Contents
Button Manager NVP API April 2012 47
Button Manager API Reference
BMGetInventory API Operation
3
BMGetInventory API Operation
Use the BMGetInventory API operation to determine the inventory levels and other
inventory-related information for a button and menu items associated with the button.
Typically, you call BMGetInventory to obtain field values before calling BMSetInventory
to change the inventory levels.
BMGetInventory Request
BMGetInventory Response
BMGetInventory Errors
BMGetInventory Request
The hosted button ID identifies the button whose inventory you want to track.
BMGetInventory Request Fields
BMGetInventory Response
The response fields contain inventory information related to the button.
BMGetInventory Response Fields
Field Description
METHOD (Required) BMGetInventory
HOSTEDBUTTONID (Required) The ID of the hosted button whose inventory information you want
to obtain.
L_DIGITALDOWNLOADKEYS
n (Optional) One or more digital download keys, up to a maximum of 1,000
keys.
The variable
n in the field name is a number between 0 and 999, inclusive, that
specifies the key.
Character length and limitations: 1,000 single-byte alphanumeric characters
each.
Field Description
HOSTEDBUTTONID The ID of the hosted button whose inventory you want to set.
TRACKINV Whether to track inventory levels associated with the button. It is one of the
following values:
0 - do not track inventory
1 - track inventory