API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Update customer email with Rest

0

If I try to update a customers e-mail with the PUT I get 

 

"An error occurred: The remote server returned an error: (405) Method Not Allowed."

 

The URL is https://restapi.e-conomic.com/customers/ and the JSON I send is 

{ "customerNumber": xxx,"email": "email@email.com" }

Any suggestions?

created Jun 3, 2015 by esso
50% Accept Rate
Q 4 A 0 C 5

1 Answer

0
 
Best answer
Hi esso

PUT is an entity specific operation and must as such be done on the entity.

The URL should be https://restapi.e-conomic.com/customers/xxx

:-)
answered Jun 22, 2015 by olej
Visma e-conomic A/S
...