UNPKG

@ribajs/shopify

Version:

Shopify extension for Riba.js

20 lines (19 loc) 544 B
import { ShopifyCustomerAddress } from "./address.js"; import { ShopifyOrder } from "./order.js"; 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; }