I am trying to create via Enterprise WSDL create call an
OrderItem record related to an order.
As per image below, inside my call i pass the
Line Description, but I am not able to add the Product ID (or Product2 identifier) since the field is missing inside the wsdl definition.
I want to highlight also that the order item object has Product2 field inside object definition.
Could you please help me with this API call ? How can i add the product id to the orderItem creation call ?
I also tryied to add manually field inside the request, but when i try to execute it, i get the following error:
"Invalid foreign key relationship name Product2"
Thanks a lot in advance