# metafield

## Operations

| Method | Path | Summary | Details |
|--------|------|---------|----------|
| GET | `/admin/api/2020-01/metafields.json` | Retrieves a list of metafields that belong to a Product Image resource. | [View](../operations/deprecated-202001-get-metafields.md) |
| POST | `/admin/api/2020-01/metafields.json` | Creates a new metafield for a resource. | [View](../operations/deprecated-202001-create-metafields.md) |
| GET | `/admin/api/2020-01/metafields/count.json` | Retrieves a count of a resource's metafields. | [View](../operations/deprecated-202001-get-metafields-count.md) |
| GET | `/admin/api/2020-01/metafields/{metafield_id}.json` | Retrieves a single metafield from a resource by its ID. | [View](../operations/deprecated-202001-get-metafields-param-metafield-id.md) |
| PUT | `/admin/api/2020-01/metafields/{metafield_id}.json` | Updates a metafield. | [View](../operations/deprecated-202001-update-metafields-param-metafield-id.md) |
| DELETE | `/admin/api/2020-01/metafields/{metafield_id}.json` | Deletes a metafield by its ID. | [View](../operations/deprecated-202001-delete-metafields-param-metafield-id.md) |
| GET | `/admin/api/2020-04/metafields.json` | Retrieves a list of metafields that belong to a Product Image resource. | [View](../operations/deprecated-202004-get-metafields.md) |
| POST | `/admin/api/2020-04/metafields.json` | Creates a new metafield for a resource. | [View](../operations/deprecated-202004-create-metafields.md) |
| GET | `/admin/api/2020-04/metafields/count.json` | Retrieves a count of a resource's metafields. | [View](../operations/deprecated-202004-get-metafields-count.md) |
| GET | `/admin/api/2020-04/metafields/{metafield_id}.json` | Retrieves a single metafield from a resource by its ID. | [View](../operations/deprecated-202004-get-metafields-param-metafield-id.md) |
| PUT | `/admin/api/2020-04/metafields/{metafield_id}.json` | Updates a metafield. | [View](../operations/deprecated-202004-update-metafields-param-metafield-id.md) |
| DELETE | `/admin/api/2020-04/metafields/{metafield_id}.json` | Deletes a metafield by its ID. | [View](../operations/deprecated-202004-delete-metafields-param-metafield-id.md) |
| GET | `/admin/api/2020-07/metafields.json` | Retrieves a list of metafields that belong to a Product Image resource. | [View](../operations/deprecated-202007-get-metafields.md) |
| POST | `/admin/api/2020-07/metafields.json` | Creates a new metafield for a resource. | [View](../operations/deprecated-202007-create-metafields.md) |
| GET | `/admin/api/2020-07/metafields/count.json` | Retrieves a count of a resource's metafields. | [View](../operations/deprecated-202007-get-metafields-count.md) |
| GET | `/admin/api/2020-07/metafields/{metafield_id}.json` | Retrieves a single metafield from a resource by its ID. | [View](../operations/deprecated-202007-get-metafields-param-metafield-id.md) |
| PUT | `/admin/api/2020-07/metafields/{metafield_id}.json` | Updates a metafield. | [View](../operations/deprecated-202007-update-metafields-param-metafield-id.md) |
| DELETE | `/admin/api/2020-07/metafields/{metafield_id}.json` | Deletes a metafield by its ID. | [View](../operations/deprecated-202007-delete-metafields-param-metafield-id.md) |
| GET | `/admin/api/2020-10/metafields.json` | Retrieves a list of metafields that belong to a Product Image resource. | [View](../operations/get-metafields.md) |
| POST | `/admin/api/2020-10/metafields.json` | Creates a new metafield for a resource. | [View](../operations/create-metafields.md) |
| GET | `/admin/api/2020-10/metafields/count.json` | Retrieves a count of a resource's metafields. | [View](../operations/get-metafields-count.md) |
| GET | `/admin/api/2020-10/metafields/{metafield_id}.json` | Retrieves a single metafield from a resource by its ID. | [View](../operations/get-metafields-param-metafield-id.md) |
| PUT | `/admin/api/2020-10/metafields/{metafield_id}.json` | Updates a metafield. | [View](../operations/update-metafields-param-metafield-id.md) |
| DELETE | `/admin/api/2020-10/metafields/{metafield_id}.json` | Deletes a metafield by its ID. | [View](../operations/delete-metafields-param-metafield-id.md) |
| GET | `/admin/api/2021-01/metafields.json` | Retrieves a list of metafields that belong to a Product Image resource. | [View](../operations/deprecated-202101-get-metafields.md) |
| POST | `/admin/api/2021-01/metafields.json` | Creates a new metafield for a resource. | [View](../operations/deprecated-202101-create-metafields.md) |
| GET | `/admin/api/2021-01/metafields/count.json` | Retrieves a count of a resource's metafields. | [View](../operations/deprecated-202101-get-metafields-count.md) |
| GET | `/admin/api/2021-01/metafields/{metafield_id}.json` | Retrieves a single metafield from a resource by its ID. | [View](../operations/deprecated-202101-get-metafields-param-metafield-id.md) |
| PUT | `/admin/api/2021-01/metafields/{metafield_id}.json` | Updates a metafield. | [View](../operations/deprecated-202101-update-metafields-param-metafield-id.md) |
| DELETE | `/admin/api/2021-01/metafields/{metafield_id}.json` | Deletes a metafield by its ID. | [View](../operations/deprecated-202101-delete-metafields-param-metafield-id.md) |
| GET | `/admin/api/unstable/metafields.json` | Retrieves a list of metafields that belong to a Product Image resource. | [View](../operations/deprecated-unstable-get-metafields.md) |
| POST | `/admin/api/unstable/metafields.json` | Creates a new metafield for a resource. | [View](../operations/deprecated-unstable-create-metafields.md) |
| GET | `/admin/api/unstable/metafields/count.json` | Retrieves a count of a resource's metafields. | [View](../operations/deprecated-unstable-get-metafields-count.md) |
| GET | `/admin/api/unstable/metafields/{metafield_id}.json` | Retrieves a single metafield from a resource by its ID. | [View](../operations/deprecated-unstable-get-metafields-param-metafield-id.md) |
| PUT | `/admin/api/unstable/metafields/{metafield_id}.json` | Updates a metafield. | [View](../operations/deprecated-unstable-update-metafields-param-metafield-id.md) |
| DELETE | `/admin/api/unstable/metafields/{metafield_id}.json` | Deletes a metafield by its ID. | [View](../operations/deprecated-unstable-delete-metafields-param-metafield-id.md) |
