PayPal Button Manager API (NVP)

PayPal Button Manager API (NVP) PayPal Button Manager API (NVP)

paypalobjects.com
from paypalobjects.com More from this publisher
13.07.2015 Views

3Button Manager API ReferenceBMSetInventory API OperationL_OPTIONQTYDELTAnL_OPTIONALERTnL_OPTIONCOSTnThe change in quantity you want to specify for the option associated with thismenu item. Specify either the change in quantity in this field or the absolutequantity in the quantity fieldIt is a list of variables for each menu item, in which n is a digit between 0 and9, inclusive.(Optional) The quantity of the option associated with this menu item belowwhich PayPal sends you an email notificationIt is a list of variables for each menu item, in which n is a digit between 0 and9, inclusive.(Optional) The cost of the option associated with this menu itemIt is a list of variables for each menu item, in which n is a digit between 0 and9, inclusive.Limitations: Value must be a positive number, with no currency symbol. Itmust have two decimal places and the decimal separator must be a period (.). Itmay have an optional comma (,) for the thousands separator.BMSetInventory ResponseThe response contains only the transaction ID.BMSetInventory Response FieldsFieldTRANSACTIONIDDescriptionTransaction IDBMSetInventory ErrorsErrorCode Short Message Long Message Correcting This Error...10001 Internal Error Internal Error11950 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.11953 Invalid Data You can only track inventory and profit &loss for buy now, cart or subscriptionbuttons.11954 Invalid Data A TrackInv value must be specified.11955 Invalid Data A TrackPnl value must be specified.44 April 2012 Button Manager NVP API

Button Manager API ReferenceBMSetInventory API Operation3ErrorCode Short Message Long Message Correcting This Error...11956 Invalid Argument The TrackInv value specified is invalid.11957 Invalid Argument The TrackPnl value specified is invalid.11958 Invalid Data You cannot specify both an ItemQty andItemQtyDelta value.11959 Invalid Data You cannot specify both an OptionQtyand OptionQtyDelta value.11960 Invalid Data You cannot specify item level or optionlevel inventory when TrackInv is 0.11961 Invalid Data You must either track inventory by item orby option when TrackInv is 1. It cannot betracked by both together or none at all.11964 Invalid Data You must either track inventory and/ortrack profit & loss.11965 Invalid Data You cannot track inventory by item andcost by option at the same time or viceversa.11966 Invalid Argument Item number specified is invalid. It mustbe a string less than 127 characters.11967 Invalid Data You cannot set inventory for more optionselections than the number of optionselections saved in the button.11968 Invalid Data Option numbers must be unique within anindividual button.11969 Invalid Data An option name index value must bespecified when tracking inventory orprofit & loss by option.11970 Invalid Argument Option name index value specified isinvalid.11971 Invalid Data Inventory and/or profit & loss must bemanaged by item or an option with pricewhen one is defined.11972 Invalid Data Option name index value specified doesnot exist.11973 Invalid Data ItemQty and/or ItemQtyDelta must be aninteger.11974 Invalid Data An item quantity or item quantity deltavalue cannot be specified when TrackInvis 0.Button Manager NVP API April 2012 45

<strong>Button</strong> <strong>Manager</strong> <strong>API</strong> ReferenceBMSetInventory <strong>API</strong> Operation3ErrorCode Short Message Long Message Correcting This Error...11956 Invalid Argument The TrackInv value specified is invalid.11957 Invalid Argument The TrackPnl value specified is invalid.11958 Invalid Data You cannot specify both an ItemQty andItemQtyDelta value.11959 Invalid Data You cannot specify both an OptionQtyand OptionQtyDelta value.11960 Invalid Data You cannot specify item level or optionlevel inventory when TrackInv is 0.11961 Invalid Data You must either track inventory by item orby option when TrackInv is 1. It cannot betracked by both together or none at all.11964 Invalid Data You must either track inventory and/ortrack profit & loss.11965 Invalid Data You cannot track inventory by item andcost by option at the same time or viceversa.11966 Invalid Argument Item number specified is invalid. It mustbe a string less than 127 characters.11967 Invalid Data You cannot set inventory for more optionselections than the number of optionselections saved in the button.11968 Invalid Data Option numbers must be unique within anindividual button.11969 Invalid Data An option name index value must bespecified when tracking inventory orprofit & loss by option.11970 Invalid Argument Option name index value specified isinvalid.11971 Invalid Data Inventory and/or profit & loss must bemanaged by item or an option with pricewhen one is defined.11972 Invalid Data Option name index value specified doesnot exist.11973 Invalid Data ItemQty and/or ItemQtyDelta must be aninteger.11974 Invalid Data An item quantity or item quantity deltavalue cannot be specified when TrackInvis 0.<strong>Button</strong> <strong>Manager</strong> <strong>NVP</strong> <strong>API</strong> April 2012 45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!