Creating an inventory module's record with external fields in the line items
POST {{api-domain}}/crm/v2/Quotes
In this example, we will create a quote by using the external values in the ProductDetails section that comprises the associated product and the price book. So, Quotes is the base module's API name, the API names of the external fields in the Products and Price Books modules are ExternalProductID and ExternalPricebookID, respectively.
Request Body
{"data"=>[{"External_Quote_ID"=>"quote1", "Subject"=>"Quote 1", "Product_Details"=>[{"product"=>{"External_Product_ID"=>"12345678900"}, "book"=>{"External_Price_book_ID"=>"pricebook1"}, "quantity"=>100}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-EXTERNAL | string |