Merge

Merge


Merge can be used with contact, product and order records to combine the record being sent with an existing record of the same type, id and collection (if a contact record) in Ometria.

When @merge is passed as true on a new record, any parameters which are not set will be copied from the existing record in Ometria. The new record will then overwrite the existing record.

When @merge isn't used while passing data, then passing blank data in a field may or may not result in those field values being removed in the platform.


Example

{
    "@merge": true
}


Note: Merge does apply to product attributes when updating a product. This behaviour is deliberate so that the products only has the latest attributes associated with it. You must pass all relevant attributes when using merge.