You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sean Callan edited this page Jun 9, 2020
·
1 revision
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 (required) INTEGER - The ID for your API key.
auth_key (required) STRING - The API key.
auth_expiration (required) INTEGER - Unique ID tied to your key; changes if you reset your key.
id (required) INTEGER - The ID of the Beans_Vendor_Purchase to update.
sent (optional) STRING - The sent status of the purchase: 'email', 'print', 'both', or NULL
Returns
purchase OBJECT - The updated Beans_Vendor_Purchase.