Requires write_orders access scope. Also: The user must have mark_orders_as_paid permission.

Marks an order as paid. You can only mark an order as paid if it isn't already fully paid.


The input for the mutation.


Was this section helpful?

The order marked as paid.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation orderMarkAsPaid($input: OrderMarkAsPaidInput!) {
  orderMarkAsPaid(input: $input) {
    order {
      # Order fields
    }
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "input": {
    "id": "gid://shopify/<objectName>/10079785100"
  }
}
input OrderMarkAsPaidInput {
  id: ID!
}