UNPKG

inventora-shopify-admin-api

Version:

Shopify Admin API is a NodeJS library built to help developers easily authenticate and make calls against the Shopify API. It was inspired by and borrows heavily from ShopifySharp.

39 lines (31 loc) 1.19 kB
import { ShopifyObject } from "./base"; export interface MetaFieldUpdateCreate extends Partial<ShopifyObject> { /** * Identifier for the metafield (maximum of 30 characters). */ key: string; /** * Information to be stored as metadata. Must be either a string or an int. */ value: string | number; /** * States whether the information in the value is stored as a 'string' or 'integer.' */ value_type: "string" | "integer"; /** * Container for a set of metadata. Namespaces help distinguish between metadata you created and metadata created by another individual with a similar namespace (maximum of 20 characters). */ namespace: string; /** * Additional information about the metafield. */ description?: string; /** * The Id of the Shopify Resource that the metafield is associated with. This value could be the id of things like product, order, variant, collection. */ owner_id?: number; /** * The name of the Shopify Resource that the metafield is associated with. This could be things like product, order, variant, collection. */ owner_resource?: string; }