How to pass dynamic values to variables for cart item in cartjs in scripted REST API?

Annamdevula Di1
Kilo Contributor

Hi All,

How to pass dynamic values for variables in scripted REST API for creating cart item by using cartjs API. Can you please suggest  this.

find_real_file.png

12 REPLIES 12

You can close this thread by marking appropriate response as correct for others who may have a similar question in the future.

You can close this thread by marking appropriate response as correct for others who may have a similar question in the future.

Anil Lande
Kilo Patron

Hi,

You need to parse reqBody and pass it to the variables attribute the way Rohila has suggested.

 

Thanks,

Anil Lande