Options
			
				
					
	
			
		
	- Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Mute
 - Printer Friendly Page
 
			
				
					
						
							Problem patching salesorder line with V3
						
					
					
				
			
		
	
			
	
	
	
	
	
Hi,
I'm trying to update a salesorder line with the new API.
The response seems to be okay but nothing happens in Visma.
		3 REPLIES 3
	
		
		
			
			
			
					
	
			Hi, you should use the following endpoint with the specified information. 
Steps:
1) GET SalesOrder to retrieve the version of the document.
Can be found either in the responseBody(version) or ResponseHeader(eTag)
2) PATCH - SalesOrder
https://salesorder.visma.net/api/v3/SalesOrders/TYPE/orderID/lines
Add "If-match" to the request headers with value of the version.
3)Financials ERP Output
Hope this helps.
This can be related to the SO, status, in your company since we're able to modify these values without any problem.
Please check it out via the Financials ERP UI.