Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Notification__send Custom

Requires a signed-in staff user. Needs the `identity__Tenant` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONnotification__sendCustom(input: NotificationSendCustomInput!): NotificationSendCustomResult!

Requires a signed-in staff user. Needs the identity__Tenant update permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

input*

Returns

  1. notification__sendCustom
enqueued*Int!
Example Request
mutation Notification__sendCustom($input: NotificationSendCustomInput!) {  notification__sendCustom(input: $input) {    enqueued  }}
Variables
{  "input": {    "channel": "EMAIL",    "message": "string",    "recipients": [      {        "type": "CUSTOM"      }    ]  }}
Example Response
{  "data": {    "notification__sendCustom": {      "enqueued": 10    }  }}