List Metafields
Metafields
List Metafields
List the metafields your app has written
GET
List Metafields
Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
List Metafields
Returns metafields written by your app (scoped byappId). Filter by
owner type, owner id, namespace, or key.
This endpoint returns only the metafields your app has written. To list
all metafields on a resource (including those written by other apps or
merchants), the merchant must use the Admin API
(
GET /metafields?ownerType=...&ownerId=...).Request
Required scope
read_metafields
Query parameters
Filter by owner type. One of
shop, product, variant, collection,
customer, order, page, blog, article. Lowercase only.Filter by the owning resource id. Required for every owner type except
shop.Filter by namespace.
Filter by exact key.
1-indexed page number.
Items per page. Max 250.
Response
HTTP status code (200 on success).
success or error.Array of metafield objects.
Total matching records.
Current page.
Page size.
Example response
Error codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing access token |
FORBIDDEN | App doesn’t have read_metafields scope |
VALIDATION_ERROR | Invalid ownerType value |