Product MetaFields¶
Superseded by Metafields
For a new integration, use the Metafields push, or the metafields on the Products push. The Product MetaFields push remains for integrations built on it.
The Product MetaFields push sets and deletes metafields on products, one metafield to a record. It runs on the same engine as the Metafields push and follows its rules, with these fields:
| Field | Rule |
|---|---|
| Product Id | Required. A numeric id or a gid |
| Namespace | Blank is inventory |
| Key | Required. The namespace and key find the metafield to update |
| Type (integer, single_line_text_field, etc) | Blank uses the metafield's definition |
| Value | A blank Value deletes the metafield |
| Id | Written back with the metafield's id. It does not find the metafield |
| Description (not used) | Ignored. Shopify no longer takes a metafield description |
| Use Bulk Operations | True sends the run through bulk operations |
The push needs write_products. See Access Scopes.