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.

20 lines (17 loc) 695 B
import { ShopifyObject } from './base'; import { ProductVariant } from './product_variant'; /** * A list of product variant objects, each one representing a slightly different version of the product. * For example, if a product comes in different sizes and colors, each size and color permutation * (such as "small black", "medium black", "large blue"), would be a variant. * * To reorder variants, update the product with the variants in the desired order. The position * attribute on the variant will be ignored. * */ export interface ProductVariantUpdate extends Partial<ProductVariant>, Partial<ShopifyObject> { /** * The object's unique id. */ id: number; }