履行-Fulfillment 对象
代表成就。在Shopify中,履行表示订单中一个或多个项目的发货。完全完成订单后,这意味着该订单中包含的所有项目都已发送给客户。一个订单可以有多个履行。
所需的访问
read_orders 访问范围。
在本页面
Connections
- 活动(
[FulfillmentEventConnection!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentevent))
与实现相关的事件的历史。
| 争论 | 描述 |
|---|---|
after() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
返回指定游标之后的元素。 |
before() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
返回指定游标之前的元素。 |
first() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) |
返回n列表中的第一个元素。 |
last() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) |
返回n列表中的最后一个元素。 |
reverse() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01) |
颠倒基础列表的顺序。 默认值: false |
sortKey() [FulfillmentEventSortKeys](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmenteventsortkeys) |
按给定键对基础列表进行排序。 默认值: HAPPENED_AT |
- 满额订单项(
[FulfillmentLineItemConnection!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentlineitem))
履行的订单项列表。
| 争论 | 描述 |
|---|---|
after() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
返回指定游标之后的元素。 |
before() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
返回指定游标之前的元素。 |
first() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) |
返回n列表中的第一个元素。 |
last() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) |
返回n列表中的最后一个元素。 |
reverse() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01) |
颠倒基础列表的顺序。 默认值: false |
- 履行订单(
[FulfillmentOrderConnection!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentorder))
履行的履行订单清单。
| 争论 | 描述 |
|---|---|
after() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
返回指定游标之后的元素。 |
before() [String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) |
返回指定游标之前的元素。 |
first() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) |
返回n列表中的第一个元素。 |
last() [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01) |
返回n列表中的最后一个元素。 |
reverse() [Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01) |
颠倒基础列表的顺序。 默认值: false |
字段
- createdAt(
[DateTime!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01))
创建完成的日期和时间。 - deliveryAt(
[DateTime](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01))
履行的交付日期。 - displayStatus(
[FulfillmentDisplayStatus](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentdisplaystatus))
此实现的人类可读显示状态。 - EstimateDeliveryAt(
[DateTime](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01))
预计完成日期。 - 编号(
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
全局唯一标识符。 - inTransitAt(
[DateTime](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01))
履行完成交易的日期和时间。 - legacyResourceId(
[UnsignedInt64!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#unsignedint64-2021-01))
REST Admin API中相应资源的ID。 - 位置(
[Location](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/location))
履行处理的位置。 - 名称(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
此实现的人类可读参考标识符。 - 订购(
[Order!](https://shopify.dev/docs/admin-api/graphql/reference/orders/order))
创建履行的顺序。 - requireShipping(
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
配送中的任何订单项是否需要运输。 - 服务(
[FulfillmentService](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentservice))
与履行相关的履行服务。 - 状态(
[FulfillmentStatus!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentstatus))
履行的状态。 - totalQuantity(
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
该订单项的所有订单项数量的总和。 - trackingInfo(
[[FulfillmentTrackingInfo!]!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmenttrackinginfo))
与履行相关联的跟踪信息,例如跟踪公司,跟踪号和跟踪URL。
| 争论 | Description |
|---|---|
first( [Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)) |
Truncate the array result to this size. |
- updatedAt (
[DateTime!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01))
The date and time when the fulfillment was last modified.
Types that return Fulfillment
[FulfillmentOrder.fulfillments](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillmentorder#fulfillments-2021-01)[Order.fulfillments](https://shopify.dev/docs/admin-api/graphql/reference/orders/order#fulfillments-2021-01)[QueryRoot.fulfillment](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#fulfillment-2021-01)
Mutations for Fulfillment
- fulfillmentCancel
Cancels a fulfillment. - fulfillmentCreateV2
Creates a fulfillment for one or many fulfillment orders. The fulfillment orders are associated with the same order and are assigned to the same location.
Implements
[LegacyInteroperability](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/legacyinteroperability)[Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)
An auto-generated type for paginating through multiple Fulfillments.
On this page
Fields
- edges (
[[FulfillmentEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillment))
A list of edges. - pageInfo (
[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo))
有助于分页的信息。
自动生成的类型,在分页过程中保留一个实现和一个光标。
在本页面
字段
- cursor(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
用于分页的光标。 - node(
[Fulfillment!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillment))
FulfillmentEdge末尾的项目。
返回FulfillmentEdge的类型
[FulfillmentConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/fulfillment#edges-2021-01)
