question

dipen avatar image
dipen asked jim-patel answered

Can we assign Customer to Order

Hi Team,

Can we assign customer to the existing order?

First create order, after creating order assign customer to order. So is this possible in clover?

I am trying to do this functionality but in clover there is not any scenario where we can assign customer to the order. In clover first we select the customer and then create order for that particular customer.

Any help would be appreciated.

Thanks,

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

jim-patel avatar image
jim-patel answered

The order.setCustomers function sets a List of Customer to the order. Then call orderConnector.updateOrder(order) to update the order.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community