Metafields

(ms.metafields)

It contains the extended fields in entities used as additional fields.



Fields

Value Description
name   
Type: string
Required
The name of the entity to which the metafield is to be added.
fields   
Type: array
Required
It stores the array of multiple fields.
name
Type: string
Required
The name of the field.
Address
data_type
Type: string
The data type of the field.
String
type   
Type: string
The edit type of the metafield.
text

Commands (Endpoints)

POST /api/1/entity/ms.metafields   
Creates a new metafield
DEL /api/1/entity/ms.metafields/{resource_id}   
Deletes a metafield
PUT /api/1/entity/ms.metafields/{resource_id}   
Updates an existing metafield
GET /api/1/entity/ms.metafields/{resource_id}   
Retrieves a single metafield
GET /api/1/entity/ms.metafields   
Retrieves a list of metafields