So from the Sage200 Extra documentation I can create a new SOP with an array of lines by submitting a POST request to {{URL}}/sop_orders . I can update existing lines using a PUT request to the url {{URL}}/sop_orders/id . I can delete a line by added "is_to_delete": True to the line object to an PUT request on the order.
https://developer.columbus.sage.com/docs#/uk/sage200extra/accounts/v1/sop_settings
I am totally stuck on how to add a new line to an existing SOP. If I do a PUT request to {{URL}}/sop_orders/id with new element to the lines object with an empty id it fails.
https://developer.columbus.sage.com/docs#/uk/sage200extra/accounts/v1/sop_order_lines
The sop_order_lines request seems to only support GET not POST.
Is anybody able to point me in the right direction?