You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何通过API从OroCommerce获取仅已发货的订单?

Filtering "Shipped" Internal Status Orders in OroCommerce

Hey there! No worries, I’ve got you covered on how to pull up orders with the internal "shipped" status in OroCommerce. Here’s how to do it both via the backend UI and if you’re working with the API:

Using the Backend UI

  • Navigate to Sales > Orders from the main menu in your OroCommerce backend.
  • Look for the Filters button (usually located at the top right of the orders grid) and click it to open the filter panel.
  • If you don’t see the "Internal Status" filter right away, click Add Filter, search for "Internal Status", and add it to your filter set.
  • In the "Internal Status" dropdown, select Shipped, then hit Apply to see all matching orders.

Using the REST API

If you’re fetching orders programmatically, you can include the internal status filter in your API request. For example:

  • For a basic GET request, append the filter parameter to your endpoint URL:
    GET /api/rest/latest/orders?filter[internalStatus]=shipped
  • Alternatively, if using a more complex filter structure, you can use the exact match operator:
    GET /api/rest/latest/orders?filter[internalStatus][eq]=shipped

Just a quick note: Make sure you have the necessary permissions to access order data and apply filters in your OroCommerce instance.

内容的提问来源于stack exchange,提问作者Utpal

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.29 07:14:54