Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
// This file is auto-generated. Do not edit directly.
import { z } from 'zod';
export const EmailAddressSchema = z.object({
id: z.string(),
label: z.string().nullable(),
first_name: z.string().nullable(),
last_name: z.string().nullable(),
full_name: z.string(),
address1: z.string().nullable(),
address2: z.string().nullable(),
postal_code: z.string().nullable(),
city: z.string().nullable(),
phone: z.string().nullable(),
company: z.string().nullable(),
country_name: z.string(),
country_code: z.string(),
state_text: z.string().nullable(),
state_code: z.string().nullable(),
quick_checkout: z.boolean(),
is_default_billing: z.boolean(),
is_default_shipping: z.boolean(),
state_abbr: z.string().nullable(),
country_iso: z.string(),
state_name: z.string().nullable(),
});
export type EmailAddress = z.infer<typeof EmailAddressSchema>;