Jici
12
You don’t create it with the plugin, you create it in JSON and let the plugin serialize the JSON.
For line item, you already have the json in your body that is created. What you can do is to add a parameters “line_items”
And in this parameter you will put the result of the plugin
Your line item in the plugin will be something like[Do a search for line item:formatted as text]
In the formatted as text, you will put in the first box something like
{"price":"this item price","quantity":"this item quantity"}
(you will probably put more informations for line item (could be ID, description…)
1 Like