I want to call an external datasource from AJO and pass the list of all products so that i can get the availability of the products from the external system.
I read the document for making a post call to the external sources and doing the same thing as mentioned in the document
However i am not able to pass dynamic variables to the post API.
Did anyone tried passing list of dynamic variables to an API on AJO
Thanks in advance,
Dynamic parameter values depend on the execution context, they will be defined in the journey. Use advanced editor to feed dynamic values.
You can create advanced conditions on data sources and event information.
Hi @akshaaga @anuhya-tad @Manoj_Kumar_ - Just to add more details for clarity. I have a usecase where i want to send all the products that customer added to the cart to a datasource so that i can check the stock availability of the products.
I see in advanced editor , i am unable to loop through all the items in productList. Is there a way to iterate and send all the items to the datasource in one way.
I see array function as last, at, all but couldn't find a way to send entire productListItems to datasource as a payload.
@arpan-garg, Can you take a look at this documentation to see if that helps,
Also, if you want to check the availability of the product with the help of an external system you can try a recent feature added to custom actions to get API response.
Hi @SatheeskannaK - I already checked the support of listStrings in custom action earlier but the point is the response payload part is still in beta and is not publicly available.
This eliminates it as an option for us.