Ostorya dev docs

Admin API/Orders/Mutations

orderConfirmationCallLog

mutationOstorya extension

Logs a confirmation call. CONFIRMED commits the stock; CANCELLED cancels the order; CALL_BACK needs callbackAt.

Returns OrderConfirmationCallLogPayload!

mutation OrderConfirmationCallLog($orderId: ID!, $outcome: ConfirmationCallOutcome!) {
  orderConfirmationCallLog(orderId: $orderId, outcome: $outcome) {
    order {
      id
      name
      email
      phone
      displayFinancialStatus
      createdAt
    }
    userErrors {
      code
      message
      field
    }
  }
}

# Variables
{
  "orderId": "gid://ostorya/Order/0f8c5b1e-…",
  "outcome": "BUSY"
}

Arguments

callbackAtDateTime
noteString
orderIdID!required

Payload

orderOrder
userErrors[UserError!]!required