List metafield owner types
get
/rest/api/metafield_owner_types Retrieves the collection of MetafieldOwnerType resources.
Returns every metafield owner type, each with the allowedConstraints you may attach to a definition with that ownerType.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
X-Flowkiwi-Organization-Id | string | required | The organization the request acts as. Determines the identity, permissions and ownership applied when reading or modifying data on the instance. |
Response
200 - MetafieldOwnerType collection
| Property | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
hydra:totalItems | integer | - | |||||||||||||||||||||||||||||||||||||||||||||
hydra:search | object | - | |||||||||||||||||||||||||||||||||||||||||||||
Show | |||||||||||||||||||||||||||||||||||||||||||||||
| Property | Type | Required | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@type | string | - | |||||||||||||||||||||
hydra:template | string | - | |||||||||||||||||||||
hydra:variableRepresentation | string | - | |||||||||||||||||||||
hydra:mapping | object[] | - | |||||||||||||||||||||
Show | |||||||||||||||||||||||
| Property | Type | Required | Description |
|---|---|---|---|
@type | string | - | |
variable | string | - | |
property | string | null | - | |
required | boolean | - |
hydra:memberMetafieldOwnerType[]Show hydra:member fields
| Property | Type | Required | Description |
|---|---|---|---|
@context | object | - | |
@id | string | required | |
@type | string | required | |
id | string | - | The metafield owner type identifier (e.g. products). |
description | string | - | A human-readable description of the metafield owner type. |
allowedConstraints | string[] | - | The constraint types that can be applied to a metafield definition whose ownerType is this owner type. Owner types that allow none return an empty array. |
No properties.