List Cart Metafields
Get a cart's metafields.
Authentication
X-Auth-Tokenstring
### OAuth scopes
| UI Name | Permission | Parameter |
|:--------|:-----------|:----------|
|Carts|modify|`store_cart`|
|Carts |read-only|`store_cart_read_only`|
|Information & Settings | modify | `store_v2_information`|
|Information & Settings | read-only| `store_v2_information`|
### Authentication header
| Header | Argument | Description |
|:-------|:---------|:------------|
| `X-Auth-Token` | `access_token` | For more about API accounts that generate `access_token`s, see our [Guide to API Accounts](/developer/docs/overview/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-accounts#x-auth-token-header-example-requests).
For more about BigCommerce OAuth scopes, see our [Guide to API Accounts](/developer/docs/overview/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
cart_id
Query parameters
page
Specifies the page number in a limited (paginated) list of products.
limit
Controls the number of items per page in a limited (paginated) list of products.
key
Filter based on a metafieldʼs key.
namespace
Filter based on a metafieldʼs namespaces.
direction
Sort direction. Acceptable values are: asc, desc.
Allowed values:
Response
An array of metafields and metadata.
data
Allows app partners to write custom data to various resources in the API.