| page | integer >= 1 Default: 1 頁碼 |
| pageSize | integer [ 1 .. 100 ] Default: 20 每頁數量 |
| LastModifiedDate | string <date-time> Example: LastModifiedDate=2025-01-01T00:00:00Z 過濾在此日期後更新的客戶 |
{- "customers": [
- {
- "CustomerID": "string",
- "Name": "string",
- "Phone": "string",
- "Email": "string",
- "AbbrName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "CustomFields": {
- "Group": "string",
- "TaxRate": 0
}, - "PricingDetails": [
- {
- "ItemID": "string",
- "Price": 0
}
]
}
], - "pagination": {
- "total": 0,
- "page": 0,
- "pageSize": 0,
- "totalPages": 0
}
}{- "customers": [
- {
- "CustomerID": "string",
- "Name": "string",
- "AbbrName": "string",
- "Phone": "string",
- "Email": "string",
- "PricingDetails": [
- {
- "ItemID": "string",
- "Price": 0
}
], - "CustomFields": {
- "Group": "string",
- "TaxRate": 0
}
}
]
}{- "customer": {
- "CustomerID": "string",
- "Name": "string",
- "Phone": "string",
- "Email": "string",
- "AbbrName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "CustomFields": {
- "Group": "string",
- "TaxRate": 0
}, - "PricingDetails": [
- {
- "ItemID": "string",
- "Price": 0
}
]
}
}| page | integer >= 1 Default: 1 頁碼 |
| pageSize | integer [ 1 .. 100 ] Default: 20 每頁數量 |
| LastModifiedDate | string <date-time> Example: LastModifiedDate=2025-01-01T00:00:00Z 過濾在此日期後更新的品項 |
{- "items": [
- {
- "ItemID": "string",
- "Name": "string",
- "Price": 0,
- "Description": "string",
- "Picture": "string",
- "Stock": 0,
- "Status": "ON_SELL",
- "ParentCategory": "string",
- "SubCategory": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "total": 0,
- "page": 0,
- "pageSize": 0,
- "totalPages": 0
}
}{- "items": [
- {
- "ItemID": "string",
- "Name": "string",
- "Price": 0,
- "Description": "string",
- "Picture": "string",
- "Stock": 0,
- "Status": "ON_SELL",
- "ParentCategory": "string",
- "SubCategory": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}
]
}{- "item": {
- "ItemID": "string",
- "Name": "string",
- "Price": 0,
- "Description": "string",
- "Picture": "string",
- "Stock": 0,
- "Status": "ON_SELL",
- "ParentCategory": "string",
- "SubCategory": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}
}| page | integer >= 1 Default: 1 頁碼 |
| pageSize | integer [ 1 .. 100 ] Default: 20 每頁數量 |
| Status | string Enum: "Pending" "Received" "Picked" "Sending" "Sent" "Cancelled" 過濾特定狀態的訂單,狀態enum可以根據實際情況調整 |
| LastModifiedDate | string <date-time> Example: LastModifiedDate=2025-01-01T00:00:00Z 過濾在此日期後更新的訂單,ISO 8601 格式 |
{- "orders": [
- {
- "OrderID": "string",
- "CustomerID": "string",
- "Status": "Pending",
- "DiscountAmount": 0,
- "FreightAmount": 0,
- "Amount": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Items": [
- {
- "ItemID": "string",
- "Quantity": 0,
- "UnitPrice": 0
}
]
}
], - "pagination": {
- "total": 0,
- "page": 0,
- "pageSize": 0,
- "totalPages": 0
}
}{- "orders": [
- {
- "OrderID": "string",
- "CustomerID": "string",
- "Status": "Pending",
- "DiscountAmount": 0,
- "FreightAmount": 0,
- "Amount": 0,
- "Items": [
- {
- "ItemID": "string",
- "Quantity": 0,
- "UnitPrice": 0
}
]
}
]
}{- "order": {
- "OrderID": "string",
- "CustomerID": "string",
- "Status": "Pending",
- "DiscountAmount": 0,
- "FreightAmount": 0,
- "Amount": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Items": [
- {
- "ItemID": "string",
- "Quantity": 0,
- "UnitPrice": 0
}
]
}
}| OrderID | string 訂單ID |
| CustomerID | string 客戶ID |
| Status | string Enum: "Pending" "Received" "Picked" "Sending" "Sent" "Cancelled" 訂單狀態 |
| DiscountAmount | number 折扣金額,單位為元 |
| FreightAmount | number 運費金額,單位為元 |
| Amount | number 訂單縂金額,單位為元,訂單縂金額 = 商品金額 - 折扣金額 + 運費金額 |
| CreatedAt | string <date-time> 訂單創建時間,ISO 8601 格式 |
| UpdatedAt | string <date-time> 訂單更新時間,ISO 8601 格式 |
Array of objects |
{- "OrderID": "string",
- "CustomerID": "string",
- "Status": "Pending",
- "DiscountAmount": 0,
- "FreightAmount": 0,
- "Amount": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Items": [
- {
- "ItemID": "string",
- "Quantity": 0,
- "UnitPrice": 0
}
]
}