Make the whole line item object in api call dynamic. Then depending on the liat, use ‘’‘format as text’‘’ on list qnd build each line item dynamically. You cant find the line item object in api doc for strip.

The line item itself is an array , object have currly braket {}.

It would be like this.

“Line_item” : [
Item01: { items details and parameters},
Item02: { items details and parameters},
Item03: { items details and parameters},
]

If you still stuck ping me, i would love to help.

1 Like