Upserts a data extension row by data extension external key or ID. An upsert operation updates rows when the specified key already exists and inserts new rows when the specified key doesn't exist.
To upsert multiple data extension rows in a single operation, use the POST method instead.
|key||string||Required||The data extension external key, which is included in the URL as |
|id||string||Required||The data extension ID, which is included in the URL. If you don’t provide an external key, you must provide an ID.|
|primaryKeys||array||The key-value pair of the primary key for the row.|
|values||object||The column name and value dataset for the row that you want to insert into the data extension.|
If your request is invalid, the API returns a 400 response. This response includes additional details about the error.