API Documentation


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 ).


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


sale OBJECT The updated Beans_Customer_Sale.