feat(appointments): expose destination warehouse options
This commit is contained in:
@@ -6,6 +6,26 @@ info:
|
||||
security:
|
||||
- bearerAuth: []
|
||||
paths:
|
||||
/api/platform/v1/last-leg/appointment-planning/cargo/destinations:
|
||||
get:
|
||||
operationId: listAppointmentCargoDestinations
|
||||
summary: 读取预约货物查询的目的FBA仓选项
|
||||
description: >-
|
||||
仅平台;同时要求platform:appointment:list与platform:overseas-warehouse:last-mile-order:list。
|
||||
与货物分页共用权威启用美国FBA目录,返回去重、按仓码排序的完整选项,不受货物当前分页或关键词限制。
|
||||
不增加仓库主档读取权限;目录失败返回503,不当作空选项。
|
||||
responses:
|
||||
'200':
|
||||
description: 业务响应;data为目的FBA仓码数组
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code: {type: string}
|
||||
data: {type: array, items: {type: string}, example: [ABE4, ONT8]}
|
||||
'403': {description: 非平台或缺少任一读取权限}
|
||||
'503': {description: 权威目录不可用}
|
||||
/api/platform/v1/last-leg/appointment-planning/sources/resolve-order:
|
||||
get:
|
||||
operationId: resolveOrderAppointmentSource
|
||||
|
||||
Reference in New Issue
Block a user