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 StockReservationSchema = z.object({
id: z.string(),
stock_level_id: z.string(),
line_item_id: z.string(),
order_id: z.string(),
variant_id: z.string().nullable(),
stock_location_id: z.string().nullable(),
quantity: z.number(),
expires_at: z.string(),
active: z.boolean(),
created_at: z.string(),
updated_at: z.string(),
});
export type StockReservation = z.infer<typeof StockReservationSchema>;