POST
/
notification
/
send
curl --request POST \
  --url https://prod01.oms.fabric.inc/api/v2/notification/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenant-key: <tenant-key>' \
  --data '{
  "id": "<string>",
  "notificationType": "<string>",
  "documentType": "<string>",
  "overrideContactInfo": [
    {
      "name": {
        "first": "John",
        "middle": "Middle",
        "last": "Doe"
      },
      "email": "test@fabric.inc",
      "phone": {
        "number": "55555555555",
        "type": "MOBILE"
      }
    }
  ]
}'
[
  {
    "id": "123456789",
    "documentType": "ORDER",
    "notificationType": "<string>",
    "overrideContactInfo": [
      {
        "name": {
          "first": "John",
          "middle": "Middle",
          "last": "Doe"
        },
        "email": "test@fabric.inc",
        "phone": {
          "number": "55555555555",
          "type": "MOBILE"
        }
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

tenant-key
string
required

tenant id

Body

application/json

Notification received

id
string
notificationType
string
documentType
string
overrideContactInfo
object[]

Response

200
application/json
Notifications emitted Successfully
id
string
documentType
string
notificationType
string
overrideContactInfo
object[]