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';
import { EmailDeliveryMethodSchema } from './EmailDeliveryMethod';
import { EmailFreightSummarySchema } from './EmailFreightSummary';
export const EmailDeliveryRateSchema = z.object({
id: z.string(),
delivery_method_id: z.string(),
name: z.string(),
selected: z.boolean(),
cost: z.string().nullable(),
total: z.string().nullable(),
additional_tax_total: z.string().nullable(),
included_tax_total: z.string().nullable(),
tax_total: z.string().nullable(),
carrier: z.string().nullable(),
service_level: z.string().nullable(),
estimated_delivery_date: z.string().nullable(),
unpriced: z.boolean(),
freight_summary: EmailFreightSummarySchema.nullable(),
delivery_method: EmailDeliveryMethodSchema,
});
export type EmailDeliveryRate = z.infer<typeof EmailDeliveryRateSchema>;