Skip to main content
mutation

Requires write_orders access scope. Also: User needs manage_orders_information permission.

Marks an open Order as closed. A closed order is one where merchants fulfill or cancel all LineItem objects and complete all financial transactions.

Once closed, the order indicates that no further work is required. The order's closedAt timestamp is set when this mutation completes successfully.

•OrderCloseInput!
required

The input for the mutation.


Was this section helpful?

Anchor to OrderClosePayload returnsOrderClosePayload returns

•Order

The closed order.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?