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 (16 loc) 474 B
import { PriceSet } from './price_set'; export interface DiscountAllocation { /** * The discount amount allocated to the line. */ amount: number; /** * The discount amount allocated to the line item in shop and presentment currencies. * (BETA) */ amount_set: PriceSet; /** * The index of the associated discount application in the order's discount_applications list. */ discount_application_index: number; }