BMManageButtonStatus API Operation (NVP)

Changes the status of a hosted button. Currently, you can only delete a button.

BMManageButtonStatus Request

The request specifies the hosted button's ID and the status you want to set the button to.

BMManageButtonStatus Request Fields

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. Value is:


  • DELETE - the button is deleted from PayPal

BMManageButtonStatus Response

The response does not include any fields that are specific to the BMManageButtonStatus API operation.

BMManageButtonStatus Errors

Error code Short and long messages User action
10001 Internal Error
Internal Error
To learn more about possible causes and corrective actions, see What is API error code 10001?.
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.