SaaS CMS has officially launched! Learn more now.

moving order programmatically v13


Is there a way to programmatically move an order from one customer to another?

May 14, 2021 14:43

Yes, It's possible, you have to retrieve the other customer contact and assign it's PrimaryKeyId as below:

order.CustomerId = customerContact.PrimaryKeyId ?? Guid.Empty;
order.CustomerName = customerContact.FullName;
May 14, 2021 15:02
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.