This commit is contained in:
2026-08-30 18:50:16 +08:00
parent 9d3862b215
commit 462d02efd5
4 changed files with 22 additions and 1 deletions
@@ -96,3 +96,10 @@ export async function updateFbaAppointment(appointmentNo: string, payload: Updat
)
return unwrapApiResponse(response)
}
export async function updateInboundPlan(planNo: string, payload: { customerId: string; overseasWarehouseId: string; warehouseCode?: string; warehouseName?: string; version: number }) {
const response = await overseasHttp.put<ApiEnvelope<InboundOrderSummaryDto>, ApiEnvelope<InboundOrderSummaryDto>>(
`/platform/v1/last-leg/inbound-plans/${encodeURIComponent(planNo)}`, payload,
)
return unwrapApiResponse(response)
}