Update Quote (SAP IS Adapter)
This operation allows users to update header fields, header input Fields and line items input fields in a DRAFT quote, or otherwise only header fields.
Configure the exchange property in Content Modifier:
access-token – The token can be retrieved from the global variable set by a separate token store integration flow. See https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/3621650736.
Configure the message body in Content Modifier. In the request message, specify Quote ID in the mandatory uniqueName field and update the required Quote Header attributes, Header Inputs and Line Item inputs. Only fields to be updated have to be present in the input message.
Header Inputs Array:
Name of the input field to be updated.
New value of the input field to be updated (non object type).
New value of the input field to be updated (object type).
Either value or valueObject should be present.
Line Items Array:
lineId – Unique identifier of the line to be updated. This can be retrieved by the Get quote operation.
Line Item Inputs Array:
Name of the input field to be updated.
New value of the input field to be updated (non object type).
New value of the input field to be updated (object type).
Either value or valueObject should be present.
The full JSON schema can be found in the Samples package. See Pricefx to SAP S/4HANA Schemas.
Sample quote update request:
{
"uniqueName" : "P-24049",
"additionalInfo1" : 10
}
4. In the Adapter configuration, select operation and target type.
Limitations
The following update operations are not supported:
Add / delete line items
Add / delete input fields and attributes
For more information about Quote data structure, please refer to Pricefx Documentation.
Response
The quote after update is returned. The full JSON schema can be found in the “Sample Artifacts for SAP S/4HANA Integration with Pricefx” integration package from SAP API Business Hub. See Pricefx to SAP S/4HANA Schemas.