API Documentation

Beans_Customer_Sale_Update_Sent

Update the sent status of a sale. This is useful if you want to only update a single attribute without having to re-create or update the entire sale ( 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_Customer_Sale to update.
sent STRING The sent status of the sale: 'email', 'print', 'both', or NULL

Returns

sale OBJECT The updated Beans_Customer_Sale.