Choose permitted components, variants and variables
All field references · Articles
GET /v1/articles/{id}/structure/options
Use section products, variants or variables to read the specific choices. For variants, set component_product_id. Continue with next_offset until it is null; one page is not the complete set of choices. providers and limits apply to the same complete recipe fields.
Required scopes: "products:read".
#Parameters
#path: id
Required. Your own article.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: variant_id
Optional. Your own variant; if omitted, the main article applies.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: section
Optional. Selection area.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | Default: "products". enum: ["products","variants","variables"]. |
#query: component_product_id
Optional. Article for the variant selection.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: search
Optional. Limited search by name or identifier.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | maxLength: 200. |
#query: offset
Optional. Next offset from the previous page.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | integer | Whole value | Not allowed | Default: 0. minimum: 0. maximum: 100000. |
#query: limit
Optional. Page size.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | integer | Whole value | Not allowed | Default: 30. 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 | Authorized response payload or documented event data. Additional properties are not allowed. |
| data.product_id | string | Required when parent is present | Not allowed | Meykt article identifier; not its SKU or an external system identifier. format: "uuid". |
| data.variant_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Native Meykt variant identifier; null refers to the main article where allowed. |
| data.variant_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Native Meykt variant identifier; null refers to the main article where allowed. format: "uuid". |
| data.variant_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Native Meykt variant identifier; null refers to the main article where allowed. |
| data.section | string | Required when parent is present | Not allowed | Catalog section requested: products, native variants or configured variables. enum: ["products","variants","variables"]. |
| data.rows | array | Required when parent is present | Not allowed | Authorized entries returned on this page. maxItems: 100. |
| data.rows[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.rows[].id | string | Required when parent is present | Not allowed | Identifier of this entry. Keep it unchanged when referring to the same entry in subsequent requests. format: "uuid". |
| data.rows[].name | string | Required when parent is present | Not allowed | Display name of this catalog entry or resource. |
| data.rows[].key | string | Optional | Not allowed | Stable key used to refer to this named group or configured field. |
| data.rows[].sku | string or null | Optional | Allowed by schema | Article SKU used to identify the corresponding goods. |
| data.rows[].product_id | string | Optional | Not allowed | Meykt article identifier; not its SKU or an external system identifier. format: "uuid". |
| data.next_offset | alternative (anyOf) | Required when parent is present | Allowed by schema | Offset for the next page of this list. |
| data.next_offset | integer | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Offset for the next page of this list. minimum: 0. |
| data.next_offset | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Offset for the next page of this list. |
| data.providers | array | Required when parent is present | Not allowed | Supported source providers for personalization routing. |
| data.providers[] | string | Every array item | Not allowed | enum: ["shopify","etsy","woocommerce","amazon","ebay","billbee","pos","manual","b2b_portal","b2c_portal","api"]. |
| data.max_parts | number | Required when parent is present | Not allowed | Maximum component slots allowed in a recipe. const: 100. |
| data.max_route_targets | number | Required when parent is present | Not allowed | Maximum sum of targetSlotIds entries across all routes: 500. Reusing a slot in another route counts again. Separate limits: 500 routes and 100 unique targets per route. const: 500. |
#Response 401, 403, 404, 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. 404: Not found. Also applies to IDs that belong to another organization — we deliberately do not distinguish between "does not exist" and "does not belong to you". 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-read-native-product-structure-options.md