API Documentation

Beans_Vendor_Purchase_Cancel

Cancel a vendor purchase. This should be called if you cannot delete a purchase because it has payments tied to it.


Parameters

auth_uid INTEGER The ID for your API key.
auth_key STRING The API key.
auth_expiration INTEGER Unique ID tied to your key; changes if you reset your key.
id INTEGER The ID of the Beans_Vendor_Purchase to cancel.

Returns

purchase OBJECT The updated Beans_Vendor_Purchase.