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.
31 lines (25 loc) • 834 B
text/typescript
import { ShopifyObject } from "./base";
export interface PriceRuleDiscountCode extends ShopifyObject {
/**
* The unique identifier for the price rule associated to the discount code.
*/
price_rule_id?: number;
/**
* The case-insensitive discount code that customers use at checkout. Required
* when creating a discount. Maximum length of 255 characters.
*/
code?: string;
/**
* The discount code usage count. Note that the usage limit is set on the price rule.
*/
usage_count?: number
/**
* By default, this auto-generated property is the date and time when the price rule was
* created in Shopify, in ISO 8601 format.
*/
created_at?: string
/**
* The date and time the discount code was updated.
*/
updated_at?: string
}