PUT /hub/v1/dataevents/key:{key}/rows/{primaryKeys}

Overview

Upserts a data extension row by key.

URL Parameters

NameTypeDescription
keystringRequiredData extension external key, included in URL as key:your external key value here. Required if an ID is not provided.
idstringRequiredData extension ID, included in URL as id:your ID value here or just the ID. Required if a key is not provided.
primaryKeysarrayKey/Value pair of the primary key(s) for the row

JSON Parameters

NameTypeDescription
valuesobjectColumn name and value data set for the row being inserted into the data extension

Usage

Example Request

or

Example Response

If the request was not valid, the API returns a 400 response with details on the error.