Hello ! First of all thanks. Till the moment i’ve been only using RequestsLibrary but i belive for this one i will need to use json library or json validator. Not sure yet. Till the moment i havent anything in my robot file because i dont know how to make it work. im ok making requests with small bodys but when i have json files like this example i dont know how to make it work. i’ve been searching and for the info that i found i have to make somenthing like key values.
About the mandatory fields its also another questions. I dont have that info. Thats all the info i got from the swagger documentation, this is an free Api from Broadleaf Commerce - dont know if you might know it - its more like an exercise they gave me so i can get ready for future projects using Robot Framework.
In a different kind of request what i’ve done and it did work was that :
Create session customer ${Base_URL}
${inner}= Create Dictionary customerId=200 id=200 name=Bruno value=0
${array}= Create List ${inner}
${body}= Create Dictionary customerAttributes=${array} emailAddress=xxxx@gmail.com firstName=algo id=200 lastName=Oliveira registered=True
But i dont know how i make it work here with a body like that one… I dont know which fields are mandatory and if they are all mandatory - i belive not - how could i make it work using this key - values of JsonLibrary.
Thanks once again for the help