Organizations > Entities > entitiesModify
Commerce APIOrganizationsEntitiesentitiesModify

entitiesModify

POST:entities.json

Description

Modify an existing entity.

Even though API takes array as body, modifying only one entity at a time is allowed. API looks like that for consistency reasons.

Topic: Entities

Arguments

data: [EntityModify!]!

Main argument for mutations.


entity_id: String

Unique entity identifier. See also: Unique Identifiers

Example: "en_EQzGqWoY"


Data Argument Fields

name: String

The name of the entity

Example: "FooBar Inc."

Valid when: name is not empty

Valid when: name's length doesn't exceed 250 characters


Result

[Entity!]

Preview (typescript)

Loading module