1
0
forked from erp-dev/erp

fix: added delivery_id and delivery_isnull query param to shipment list api

This commit is contained in:
2026-04-21 23:09:58 +08:00
parent 8b1afc64c5
commit 35e6af1128
6 changed files with 160 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ Authorization: <AGENT_ACCESS_KEY>
"status_display": "待出货",
"external_id": null,
"geo_coordinates": {"lat": 23.1291, "lng": 113.2644},
"delivery_id": null,
"delivery": null,
"sales_items": [
{
@@ -152,6 +153,7 @@ Authorization: <AGENT_ACCESS_KEY>
说明:
- "未出货"定义:`delivery` 为空,即尚未关联送货单
- `delivery_id` 始终返回送货单ID未关联时为 `null`
- 结果按 `created_at` 降序排列
- 只返回 `merchant_id` 对应商户的数据
- `sales_items` 包含该出货单的所有销售品(软删除的条目自动排除)