@ribajs/shopify
Version:
Shopify extension for Riba.js
20 lines (19 loc) • 538 B
TypeScript
import { ShopifyCustomerAddress } from "./address";
import { ShopifyOrder } from "./order";
export interface ShopifyCustomer {
accepts_marketing: boolean;
addresses: ShopifyCustomerAddress[];
addresses_count: number;
default_address: ShopifyCustomerAddress | null;
email: string;
first_name: string;
has_account: boolean;
id: number;
last_name: string;
last_order: ShopifyOrder;
name: string;
orders: ShopifyOrder[];
orders_count: number;
tags: string[];
total_spent: number;
}