Get Metafield
Get a metafield by location.
Authentication
X-Auth-Tokenstring
### OAuth scopes
| UI Name | Permission | Parameter |
|:--------|:-----------|:----------|
| Store Inventory | read-only | `store_inventory_read_only` |
| Store Inventory | modify | `store_inventory` |
### Authentication header
| Header | Argument | Description |
|:-------|:---------|:------------|
| `X-Auth-Token` | `access_token` | For more about API accounts that generate `access_token`s, see [API Accounts and OAuth Scopes](/developer/docs/overview/api-fundamentals/api-accounts#api-accounts). |
### Further reading
For example requests and more information about authenticating BigCommerce APIs, see [Authentication and Example Requests](/developer/docs/overview/api-fundamentals/api-accounts).
For more about BigCommerce OAuth scopes, see [API Accounts and OAuth Scopes](/developer/docs/overview/api-fundamentals/api-accounts#oauth-scopes).
For a list of API status codes, see [API Status Codes](/developer/api-reference/rest/overview#rest-http-status-codes).
Path parameters
location_id
Unique identifier for a location.
metafield_id
Unique identifier for a metafield.
store_hash
Permanent ID of the BigCommerce store.
Response
The request has been successfully processed.
data
Allows app partners to write custom data to various resources in the API.
meta
Errors
404
Not Found Error