ttpos-member-order

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ttpos-member-order

ttpos-member-order

先读
ttpos-shared
。本版不提供
member-order return-info
,被问到可退信息直接说没有。
Read
ttpos-shared
first. This version does not provide
member-order return-info
; if asked about return eligibility, simply say that it is unavailable.

能回答的问题

Questions This Skill Can Answer

问题命令
今天的外送订单
ttpos member-order list
配送中的外送单
ttpos member-order list --status delivery
一笔外送单的详情
ttpos member-order get <uuid>
QuestionCommand
Today's delivery orders
ttpos member-order list
Orders currently out for delivery
ttpos member-order list --status delivery
Details of a delivery order
ttpos member-order get <uuid>

ttpos member-order list

ttpos member-order list

bash
ttpos member-order list                                       # 只查今天
ttpos member-order list --from YYYY-MM-DD --to YYYY-MM-DD --time-type 2
ttpos member-order list --status completed --from YYYY-MM-DD --to YYYY-MM-DD
ttpos member-order list --order-no <订单号> --from YYYY-MM-DD --to YYYY-MM-DD
  • 查询上限:每页最多 100 条,
    --from/--to
    跨度最长 31 天。
  • 不传日期只查今天,不是最近 7 天,也不是全部历史。"没查到"先看
    notice
    和时间范围。
  • --order-no
    不会放宽时间范围,查今天以前的订单要同时传日期。
  • 只传
    --from
    时
    --to
    补到现在,日期太早会超 31 天;只传
    --to
    时
    --from
    补为往前 7 天。
  • --status
    取值:
    unpaid
    unaccept
    accept
    undelivery
    delivery
    completed
    cancel
    。
  • --time-type
    :
    1
    下单时间,
    2
    支付时间,只在传了日期时有意义。
  • 不能按会员筛选,也不含会员资料、等级、积分。
读输出:
data.list[].member_sale_order_uuid
是字符串。表格的状态取
status_group
(不是数字
status
),金额取
pay_amount
,时间取
pay_time
。其余字段以实际输出为准。
bash
ttpos member-order list                                       # 只查今天
ttpos member-order list --from YYYY-MM-DD --to YYYY-MM-DD --time-type 2
ttpos member-order list --status completed --from YYYY-MM-DD --to YYYY-MM-DD
ttpos member-order list --order-no <订单号> --from YYYY-MM-DD --to YYYY-MM-DD
  • Query limit: up to 100 records per page, and the
    --from/--to
    range can span at most 31 days.
  • If no date is provided, only today is queried, not the previous 7 days or all history. If “nothing found” is returned, first check
    notice
    and the time range.
  • --order-no
    does not relax the time range. To query orders from before today, you must also provide a date.
  • If only
    --from
    is provided,
    --to
    defaults to the current time; an excessively early start date will exceed the 31-day limit. If only
    --to
    is provided,
    --from
    defaults to 7 days earlier.
  • --status
    values:
    unpaid
    unaccept
    accept
    undelivery
    delivery
    completed
    cancel
    .
  • --time-type
    :
    1
    means order creation time, and
    2
    means payment time. It only applies when a date is provided.
  • Orders cannot be filtered by member, and the results do not include member profiles, membership tiers, or points.
Reading the output:
data.list[].member_sale_order_uuid
is a string. For table output, use
status_group
for the status (not the numeric
status
),
pay_amount
for the amount, and
pay_time
for the time. Use the actual output for all other fields.

ttpos member-order get <member_sale_order_uuid>

ttpos member-order get <member_sale_order_uuid>

uuid 取自
list
的
member_sale_order_uuid
,不是订单号。
data
是未建模的原始详情,
--format table
也输出 JSON。
退出码见
ttpos help exit-codes
。
The uuid comes from
list
's
member_sale_order_uuid
, not the order number.
data
contains unmodeled raw details, and
--format table
still outputs JSON.
See
ttpos help exit-codes
for exit codes.