mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
✨ Shopify node
This commit is contained in:
45
packages/nodes-base/nodes/Shopify/OrderInterface.ts
Normal file
45
packages/nodes-base/nodes/Shopify/OrderInterface.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
export interface ILineItem {
|
||||
id?: number;
|
||||
product_id?: number;
|
||||
variant_id?: number;
|
||||
title?: string;
|
||||
price?: string;
|
||||
grams?: string;
|
||||
quantity?: number;
|
||||
}
|
||||
|
||||
export interface IDiscountCode {
|
||||
code?: string;
|
||||
amount?: string;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface IAddress {
|
||||
first_name?: string;
|
||||
last_name?: string;
|
||||
company?: string;
|
||||
address1?: string;
|
||||
address2?: string;
|
||||
city?: string;
|
||||
province?: string;
|
||||
country?: string;
|
||||
phone?: string;
|
||||
zip?: string;
|
||||
}
|
||||
|
||||
export interface IOrder {
|
||||
billing_address?: IAddress;
|
||||
discount_codes?: IDiscountCode[];
|
||||
email?: string;
|
||||
fulfillment_status?: string;
|
||||
inventory_behaviour?: string;
|
||||
line_items?: ILineItem[];
|
||||
location_id?: number;
|
||||
note?: string;
|
||||
send_fulfillment_receipt?: boolean;
|
||||
send_receipt?: boolean;
|
||||
shipping_address?: IAddress;
|
||||
source_name?: string;
|
||||
tags?: string;
|
||||
test?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user