POST | /IntegrationUpdate/IntegrationUpdateUpdate | Updates Information or Inserts a new Integration Update | Uses your API Key and applies a mvRecordAction value on an
mvIntegrationUpdate object. We can insert the mvIntegrationUpdate object we specified using "Insert" as our
mvRecordAction. We can update a current mvIntegrationUpdate using "Update". We can insert it if it doesn't
already exist, update it if it does using "InsertOrUpdate" and we can insert new fields or update
non-empty fields of the IntegrationUpdate using "InsertOrUpdateNonEmptyFields". Optionally, you can use
mvInsertUpdateDeleteSourceApplication when an external application ( eg Magento ) is the one
that triggers the IntegrationUpdate call.
A. Update the IntegrationUpdate with id 144480 to have a payload marked as NEW
Value: {
"mvIntegrationUpdate": {
"IntegrationUpdateID": "144480",
"Entity": "stock",
"EntityIDs": "rm2##$rm1",
"Action": "update",
"Application": "magento-1",
"Tries": "0",
"Payload": "NEW",
"IntegrationUpdateDateTime": "/Date(1520009179397-0000)/"
},
"mvRecordAction": "update"
}
Response: {
"mvIntegrationUpdate": {
"IntegrationUpdateID": 144480,
"Entity": "stock",
"EntityIDs": "rm2##$rm1",
"Action": "update",
"Application": "magento-1",
"Tries": 0,
"JsonData": "",
"Payload": "NEW",
"IntegrationUpdateDateTime": "/Date(1520009179397+0200)/"
},
"ResponseStatus": {
"ErrorCode": "0"
},
"entityID": 144480
}
|
---|