switchPosStoreQuickButton

Switch two quick product buttons in a store-specific list. Quick buttons are displayed in POS for fast access.

To delete button from list, see API call deletePosStoreQuickButton.

Insert new button into the list, see API call insertPosStoreQuickButton.

To retrieve list of buttons, see API call getPosStoreQuickButtons.

API will return error 1013 without specified field if first and second buttons are the same.

Input parameters

Parameter name Description Possible value Required
productID1 First product ID. integer yes
serviceID1 First service ID, if account has services enabled this value can be used instead of productID1. Will return error 1013 if defined together with productID1. integer
productID2 Second product ID. integer yes
serviceID2 Second service ID, if account has services enabled this value can be used instead of productID2. Will return error 1013 if defined together with productID2. integer
warehouseID Warehouse ID, if warehouse doesnt have store-specific quick buttons enabled - will return error 1189. integer yes

Response

Field name Type Description
isSuccessful Boolean Was the switching successful.