Admin API / Mutations

markOrderAsPaid

Marks an off-platform order as paid. Use it after the seller receives payment directly, for example for a Venmo order. A repeat on a paid order succeeds and changes nothing. Returns OrderNotFoundError when the caller cannot read the order, and UnauthorizedError with requiredRole: null when the caller can read the order but its seller is not the caller and not the owner of a store that the caller staffs. A caller below the SELLER role who has open seller obligations marks only their own orders with open obligations as paid.

Requires a client key with one of these scopes: admin:orders:settleRequires this member role or higher: SELLER A member below this role, or an inactive member, who has outstanding seller obligations can also call it.
markOrderAsPaid(
  input: MarkOrderAsPaidInput!
): MarkOrderAsPaidPayload!

Arguments

ArgumentTypeDescription
inputMarkOrderAsPaidInput!The order to mark as paid.

Return type

MarkOrderAsPaidPayload!