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.

18 lines (15 loc) 416 B
import { ShopifyObject } from "./base"; export interface DiscountCode extends ShopifyObject { /** * The amount of the discount. */ amount?: string; /** * The discount code. */ code?: string; /** * The type of discount. Known values are 'percentage', 'shipping', 'fixed_amount' and 'none'. */ type?: "percentage" | "shipping" | "fixed_amount" | string; }