Updating a Sharepoint Item using JSON

New Contributor

I need some help updating my JSON code to update a SharePoint Item.  I'm using variables to determine which list to update and need to write the code to create the item to be upgraded.   My list item is of type choice which might be making it more difficult.  Please see the screenshot.Screenshot (2).png 

Inside my compose it simply reads:

{
"OrderStatus/Value": "ORDERED"
}

 

I have tried various ways to reference the SharePoint item being updated but cannot get the Compose portion to accurately reflect the item when updating.  Please note the SharePoint List item is of type "choice" called Order Type.  Which I assume makes in an array and refencing as such is most likely my issue. Any advice on how to properly format and create my item to update would be appreciated. Thanks 

 

 

0 Replies