Transfer Order API - How to pass multiple Line IDs in PATCH request
Summary:
Hello all - I am using the transferOrders REST API to update (PATCH) transfer order lines to a CANCEL status. I need to update multiple lines and wondering if the below example JSON body is the best way to accomplish updating multiple lines in one payload message, or if the API supports sending as an Array. This is how I currently have the JSON structured and it works, but is more cumbersome to use as there are over a thousand lines that need updating across multiple orders:
If I try to format as an Array I receive this below error. Is there any way to accomplish this?