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.
16 lines (15 loc) • 411 B
TypeScript
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;
}