Skip to main content

contact Mutation

Description​

Submits a customer contact request (currently an order withdrawal / cancellation). Records it as an internal message visible in the Backoffice and notifies the shop admins.

mutation contact($withdrawal: WithdrawalInput) {
contact(withdrawal: $withdrawal)
}

Variables​

{
"withdrawal": {
"reference": "reference",
"name": "A name",
"email": "email@example.com",
"reason": "reason"
}
}

Response​

{
"contact": "example"
}

Arguments​

NameTypeDescription
withdrawalWithdrawalInputInput type. See the `WithdrawalInput` type for field details.

Returns​

String