Component evidence
TypeScript API client for order management endpoints.
// Source: https://github.com/ly1994lyy/vue3_shopManage | License: MIT | Copyright 2024 ly1994lyy
// Provided via justclaw.it.com; keep this notice with the code.
import { get, patch, post } from '@shop-saas/api-client'
import type { PageResult } from '@shop-saas/types'
export type OrderStatus = 'pending' | 'paid' | 'shipped' | 'completed' | 'cancelled' | 'refunded'
export type PaymentStatus = 'unpaid' | 'paid' | 'refunding' | 'refunded'
export type ShippingStatus = 'unshipped' | 'shipped' | 'delivered'
export interface OrderItem {
id: string
orderId: string
productId: string
productName: string
productCode: string
skuName?: string | null
cover?: string | null
quantity: number
price: string | number
subtotal: string | number
}
export interface Order {
id: string
... (truncated -- full source via MCP)