Skip to content

armgit / spree

Public Imported from GitHub
0

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.

792 B
Raw Blame
// This file is auto-generated. Do not edit directly.
import { z } from 'zod';

export const PurchaseOrderItemSchema = z.object({
  id: z.string(),
  quantity_ordered: z.number(),
  quantity_received: z.number(),
  quantity_rejected: z.number(),
  quantity_over: z.number(),
  outstanding: z.number(),
  currency: z.string().nullable(),
  created_at: z.string(),
  updated_at: z.string(),
  unit_cost: z.string(),
  total_cost: z.string(),
  purchase_order_id: z.string().nullable(),
  variant_id: z.string().nullable(),
  product_id: z.string().nullable(),
  variant_name: z.string().nullable(),
  variant_sku: z.string().nullable(),
  options_text: z.string().nullable(),
  thumbnail_url: z.string().nullable(),
});

export type PurchaseOrderItem = z.infer<typeof PurchaseOrderItemSchema>;