Best answer

How to configure API Request with Line Item Group ?

  • 14 February 2022
  • 1 reply
  • 303 views

Via an Action I want to create an element with lines. In the "input Designer" part I added a "Line Item Group" block and I configured it as follows:

 

 

In the "API Configuration" part and step 1 "Configure your API Request", how to configure the "body" request for these lines? The API POST request, which I am using, expects information in this form:

 

icon

Best answer by Zane 17 February 2022, 16:54

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +9

Assigning the key of your line item group to a field in the body of your post will get you the behavior you’re after. bundle.inputData.lineitemkey will contain an array of objects whose fields are the keys of the child fields in your line item group.

 

 

 

 

 

What got sent to the server...