Transfer Order API - How to pass multiple Line IDs in PATCH request — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!