Admin API/Orders/Mutations
orderConfirmationCallLog
mutationOstorya extensionLogs 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
- channelConfirmationCallChannel
- noteString
- orderIdID!required
- outcomeConfirmationCallOutcome!required
Payload
- orderOrder
- userErrors[UserError!]!required