CALL Rest Methode MERGE

0
Hi All,   I am working on a Rest interface with Exact Globe. To update a project / account it needs to create a MERGE call (not a PUT request).   How do I create a MERGE request iso GET, POST,PUT or DELETE     Exact Globe ·Accept: application/atom+xml,application/xml; charset=utf-8 if the response payload should be formatted using ATOM markup. application/json,text/javascript; charset=utf-8 if the response payload should be formatted using JSON markup. Not relevant for Update and Delete actions, which don’t return a content payload.   ·Method: POST for Create, GET for Retrieve/query, MERGE for Update and DELETE for Delete.  
asked
3 answers
1

The usual way to achieve merge with REST is to use HTTP PATCH. Normal behavior for PATCH is to replace the existing attributes of the resource with the ones received.

answered
0

Hi Steven,

 

The PUT method can be used for the MERGE. Maybe this link can help:

https://developers.shopware.com/developers-guide/rest-api/examples/merge-mode/

 

Go make it

answered
0

Hi,

 

fixed it using extra header parameter

X-Http-Method: MERGE. 

 

answered