Best way to simultaneously create an Account and a Sale at the same time?

Hi all,

We’re a company that makes sales off of our website via WooCommerce for certain products. We’re trying to use SuiteCRM to capture our customer data from WooCommerce into SuiteCRM. For those products which are available on our website there is no real quotation required, the customer can just go thru the workflow to buy something on the site.

What’s the best way in the API to simultaneously create an Account and a sale bypassing any workflows? I just want to grab the customer data and the SKU on the sale from WooCommerce, dump it into SuiteCRM as a “Website Sale” (customer data->account and sale under Account/Purchases) and record the purchase history so we can market to those customers when new products come out.

We also have some products that do require quotations and some of these customers may buy an off the shelf product then need additional support, so I’d rather keep everything in a single DB-of-Truth, which I’d like to be Suite.