Magidoc

Upsert Pattern

We use the upsert pattern, so the mutations you call to create and/or update an entity is the same.

If the GlobalId you provide already exists against an entity, we will update that entity, otherwise, we will create one.