Create a Quote

When you want to create a Create operation for Pricefx Quote, insert a Connector Shape and follow all the steps described in Create an Operation.

In Step 2, the setup should look like this:

The last field 'Operation' (which relates to Step 7 in the common flow) has the following options.


Create Request Message

A quote consists of different set of fields, such as quote header fields, header inputs, folders and their line items.

The two JSON Definitions (shown below), namely calculableInputDefinition and itemGroupDefinition could be ignored.

  • Quote Header Fields
    • Standard fields – system defined attributes.
    • Quote Attributes – These fields are defined by the quote calculation logic and at the Quote list.
  • Header Inputs – JSON element “inputs’. The fields are defined by the quote calculation logic.
  • Folders  –  JSON element “folders”. You could specify a list folders in this string array element. This is not mandatory. All line items are added to ROOT if no folders are defined.
  • Line Items - JSON element “lineItems”. Each line item object represents a folder of SKUs. The input fields of each SKU are defined by the quote calculation logic. Maximum number of line items = 15.

Create Response Message

This is the same for Get and Fetch response too. 

It is very similar to Create Request Message but also with output attributes, workflow status, quote status and results as well.

In this example, ProjectName and ProjectNumber were the user defined quote attributes in the above request.


For more information about Quote data structure, please refer to Pricefx Documentation.