User Guide

Table Of Contents
Button Manager NVP API April 2012 41
Button Manager API Reference
BMSetInventory API Operation
3
BMManageButtonStatus Request
The request specifies the hosted button’s ID and the status you want to set the button to.
BMManageButtonStatus Request Fields
BMManageButtonStatus Response
The response does not include any fields that are specific to the BMManageButtonStatus
API operation.
BMManageButtonStatus Errors
BMSetInventory API Operation
Use the BMSetInventory API operation to set the inventory level and inventory
management features for the specified button. When you set the inventory level for a button,
PayPal can track inventory, calculate the gross profit associated with sales, send you an alert
when inventory drops below a specified quantity, and manage sold out conditions.
Field Description
METHOD (Required) BMManageButtonStatus
HOSTEDBUTTONID (Required) The ID of the hosted button whose status you want to change.
BUTTONSTATUS (Required) The new status of the button. It is one of the following values:
DELETE - the button is deleted from PayPal
Error
Code Short Message Long Message Correcting This Error...
10001 Internal Error Internal Error
11950 Invalid Data A hosted button ID must be specified.
11951 Invalid Argument The hosted button ID specified is invalid.
11951 Invalid Argument The hosted button ID specified is invalid.
11992 Invalid Argument You do not have permissions to access
this button. Please check the hosted button
ID and try again.
11993 Invalid Argument The button status value specified is not
valid.