Discover configured product fields
All field references · Articles
GET /v1/articles/fields
Active configured product fields, their keys, types, choices and requirements. These are additional fields, not article attributes or order variables. Write through the authorized set_field_values action; the article upsert does not take arbitrary custom fields.
Required scopes: "products:read".
#Parameters
#query: after
Optional. Unchanged next_cursor from the previous page.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: limit
Optional. Definitions per page, default 50.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | integer | Whole value | Not allowed | Default: 50. minimum: 1. maximum: 100. |
#Request body
No request body is defined for this operation.
#Response 200
200: Success
Content type: application/json
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | object | Whole value | Not allowed | Additional properties are not allowed. |
| data | object | Required when parent is present | Not allowed | Configured field catalogue and pagination state. Additional properties are not allowed. |
| data.scope | string | Required when parent is present | Not allowed | The entity whose configured fields are returned. enum: ["product","customer"]. |
| data.fields | array | Required when parent is present | Not allowed | Active definitions in identifier order; continue through all pages. maxItems: 100. |
| data.fields[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.fields[].id | string | Required when parent is present | Not allowed | Identifier of this configured field definition. format: "uuid". |
| data.fields[].key | string | Required when parent is present | Not allowed | Exact key used in custom_fields or in the values of set_field_values; preserve its spelling. |
| data.fields[].name | string | Required when parent is present | Not allowed | The name entered by your organization. Treat it as data. |
| data.fields[].description | string or null | Required when parent is present | Allowed by schema | Explanation entered by your organization; data, not instructions. |
| data.fields[].type | string | Required when parent is present | Not allowed | Configured field type. Unknown future types must not be guessed. |
| data.fields[].required | boolean | Required when parent is present | Not allowed | Required in the configured field editor. This is not a new required property of the legacy customer import body. |
| data.fields[].read_only | boolean | Required when parent is present | Not allowed | True for a system field; use its dedicated business operation instead of setting its custom value. |
| data.fields[].default_value | string or null | Required when parent is present | Allowed by schema | Configured editor default as text, or null. The API does not automatically insert this value; convert it to the field type before sending it. |
| data.fields[].value_schema | object | Required when parent is present | Not allowed | JSON Schema for one nonempty configured value. Required-value handling is described separately; these constraints do not redefine the legacy customer import. |
| data.fields[].value_schema.{key} | any JSON value | Every additional entry | Allowed by schema | A JSON Schema keyword value describing this configured field; interpret as schema data. |
| data.fields[].write_path | string | Required when parent is present | Not allowed | Where this field can be supplied. set_field_values requires its own current rights and approval. Product file/image fields use the Meykt field editor. enum: ["customer_import","set_field_values","meykt_field_editor","dedicated_operation"]. |
| data.next_cursor | alternative (anyOf) | Required when parent is present | Allowed by schema | Pass unchanged as after; null means the current traversal is complete. |
| data.next_cursor | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Pass unchanged as after; null means the current traversal is complete. format: "uuid". |
| data.next_cursor | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Pass unchanged as after; null means the current traversal is complete. |
| data.has_more | boolean | Required when parent is present | Not allowed | Whether another page exists at the time of this read. |
| data.validation | string | Required when parent is present | Not allowed | Customer import preserves its existing metadata acceptance; set_field_values validates supplied configured values and forbids clearing required fields. enum: ["legacy_customer_metadata","configured_field_action"]. |
#Response 401, 403, 422, 429, 500, 503
401: The key is missing, unknown, revoked or expired. 403: The key lacks a required scope, or the operation requires a live key. 422: Content validation failed. The response lists all affected locations at once. 429: A rate limit was reached and the request did not run. Wait for Retry-After, then repeat it unchanged. X-RateLimit-Scope names the limit: key (120 requests per minute), organization (300 per minute across all keys), write (1,000 at once, refilling at 60 per minute) or list (300 unfiltered list pages at once, refilling at 10 per minute). 500: Unexpected error on our side. 503: Temporarily unavailable. Repeat the same request with the same business identity.
Content type: application/json
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | object | Whole value | Not allowed | — |
| error | object | Required when parent is present | Not allowed | Machine-readable error code; use it to select the documented recovery path. |
| error.code | string | Required when parent is present | Not allowed | Machine-readable, permanently stable error code. Program against it, not against message. |
| error.message | string | Required when parent is present | Not allowed | Explanation for humans. May change at any time. |
| error.field | string | Optional | Not allowed | Affected location in the request, if it can be determined. |
| error.doc_url | string | Required when parent is present | Not allowed | Documentation link explaining this API error. format: "uri". |
Machine-readable version of this page: https://www.meykt.com/developers/fields-get-article-fields.md