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 StockMovementSchema = z.object({
id: z.string(),
quantity: z.number(),
kind: z.string().nullable(),
reason: z.string().nullable(),
created_at: z.string(),
updated_at: z.string(),
stock_level_id: z.string().nullable(),
stock_location_id: z.string().nullable(),
stock_location_name: z.string().nullable(),
variant_id: z.string().nullable(),
variant_name: z.string().nullable(),
variant_sku: z.string().nullable(),
order_id: z.string().nullable(),
fulfillment_id: z.string().nullable(),
return_id: z.string().nullable(),
exchange_id: z.string().nullable(),
stock_transfer_id: z.string().nullable(),
stock_receipt_id: z.string().nullable(),
purchase_order_id: z.string().nullable(),
order_number: z.string().nullable(),
return_number: z.string().nullable(),
exchange_number: z.string().nullable(),
stock_transfer_number: z.string().nullable(),
purchase_order_number: z.string().nullable(),
unit_cost: z.string().nullable(),
});
export type StockMovement = z.infer<typeof StockMovementSchema>;