
Hi,
I am using html web resource.
I want to create order and in which I want to add multiple products using jquery.
How can i achieve this?
Can I pass multiple products in single call?
*This post is locked for comments
I have the same question (0)Hi NikkiShah,
You have some options here. You can create the order and then, for each product, you can submit a create request using the REST endpoint (one record created per request). If you need to create all products associated with the order in one single request, you might want to consider using the ExecuteMultiple request. Sdk.Soap.js supports this message. Please, bare in mind that, depending on how many products you want to add to your order in a single request, the ExecuteMultiple message can become large and may not be a good idea to deal with it in JavaScript.
Hope it helps,