Currently, I doing this PUT method but it doesn’t do anything but return the sales order object:
{
"OrderType": {"value": "WB"},
"OrderNbr": {"value": "WB00159383"},
"Payments": m
{
"ReferenceNbr": {
"value": "598095"
}
}
]
}
I’m expecting it to return the unpaid balance on the order so I can use this amount to call the same method with the following body:
{
"OrderType": {"value": "WB"},
"OrderNbr": {"value": "WB00159383"},
"Payments":
{
"ReferenceNbr": {
"value": "787266"
},
"AppliedToOrder": {
"value": 55.5900
}
}
]
}