---
title: "Get specific app metafield"
method: GET
path: "/customers/{customer_id}/app_metafields/{metafield_id}"
tags: ["Customer App Metafields"]
---

# Get specific app metafield

`GET /customers/{customer_id}/app_metafields/{metafield_id}`

## Request

- Base URL: `https://open.shopline.io/v1`
- URL: `https://open.shopline.io/v1/customers/{customer_id}/app_metafields/{metafield_id}`
- Auth: HTTP bearer

To get information of app metafield attached to a customer by metafield ID

## Path parameters

- `customer_id` string, required
- `metafield_id` string, required

## Response `200`

OK

- AppMetafieldValue
  - `id` string: Metafield Value ID
  - `namespace` string: Namespace
  - `key` string: Key
  - `field_type` 'single_line_text_field' | 'multi_line_text_field' | 'number_integer' | 'number_decimal' | 'json' | 'boolean' | 'url': Data type of the metafield value<br> Type allows:<br> single_line_text_field - One line of string (max 50 characters)<br> multi_line_text_field - Multiple line of string (max 1000 characters)<br> number_integer - Integer<br> number_decimal - Decimal<br> json - String of JSON object (max 4000 characters)<br> boolean - Boolean<br> url - String of URL<br>
  - `field_value` union: Metafield value
    - string
    - number
    - boolean
    - object
  - `created_at` string
  - `updated_at` string
  - `metafield_type` 'merchant' | 'app': Type of the metafield
  - `resource_id` string: Resource ID
  - `application_id` string: Application ID

---

[API](https://skmtc.dev/shoplineapp/apis/shopline-open-api.md) - [All operations](https://skmtc.dev/shoplineapp/apis/shopline-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoplineapp/apis/shopline-open-api/revisions/d2518391b149?raw)
