Skip to main content

OrderWithdrawal

No description

type OrderWithdrawal {
id: Int!
orderId: Int!
order: Order
status: OrderWithdrawalStatus!
comment: String
createdAt: DateTime!
updatedAt: DateTime!
rows: [OrderWithdrawalRow!]!
log: [OrderWithdrawalLog!]
}

Fields

id ● Int!

The id of the withdrawal case

orderId ● Int!

The id of the order

order ● Order

The order associated with this withdrawal

status ● OrderWithdrawalStatus!

The current status of the withdrawal

comment ● String

Customer comment on the withdrawal

createdAt ● DateTime!

When the withdrawal was created

updatedAt ● DateTime!

When the withdrawal was last updated

rows ● [OrderWithdrawalRow!]!

The order rows included in the withdrawal

log ● [OrderWithdrawalLog!]

The log history of the withdrawal. Admin only - not available for customer-scoped queries.

Example

{
"id": 3312,
"orderId": 10341,
"status": "NEW",
"comment": "Changed my mind about the purchase",
"createdAt": "2024-05-03T11:52:33Z",
"updatedAt": "2024-05-03T11:52:33Z",
"rows": [
{
"orderRowId": 23422
}
]
}