Admin API/Customers/Mutations
customerUnblock
mutationReturns CustomerUnblockPayload!
mutation CustomerUnblock($id: ID!) {
customerUnblock(id: $id) {
customer {
id
email
phone
createdAt
blocked
blockedReason
}
userErrors {
code
message
field
}
}
}
# Variables
{
"id": "gid://ostorya/Product/0f8c5b1e-…"
}Arguments
- idID!required
Payload
- customerCustomer
- userErrors[UserError!]!required