POST:entities.json
Commerce APIPOST:entities.json

POST:entities.json

entitiesCreate

Description

Create a new entity.

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

Topic: Entities

Query Parameters

entity_id: String

Unique entity identifier. See also: Unique Identifiers

Example: ?entity_id=en_EQzGqWoY

Request Body

Array of EntityCreate

[
  {
    "name": "FooBar Inc.",
    "organization_id": "og_EQzGqWoY"
  }
]

Response Body

Array of Entity

Response Body Type

Loading module