API Documentation

Beans_Vendor_Purchase_Update_Sent

Update the sent status of a purchase. This is useful if you want to only update a single attribute without having to re-create or update the entire purchase ( i.e. to mark it as sent ).


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 update.
sent STRING The sent status of the purchase: 'email', 'print', 'both', or NULL

Returns

purchase OBJECT The updated Beans_Vendor_Purchase.