Create Request Message

Creates a new request message.

post
Path parameters
requestIdstringRequired

Request Id

Body
all ofOptional
Responses
201

Created

application/json
post
POST /public/v1/commerce/requests/{requestId}/messages HTTP/1.1
Host: api.s1.today
Content-Type: application/json
Accept: */*
Content-Length: 79

{
  "visibility": {
    "client": true,
    "operations": true,
    "vendor": true
  },
  "content": "text"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-19T08:49:41.417Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-19T08:49:41.417Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "revision": 1,
  "visibility": {
    "client": true,
    "operations": true,
    "vendor": true
  },
  "account": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "type": "Client",
    "status": "Active"
  },
  "type": "text",
  "content": "text",
  "request": {
    "id": "text",
    "name": "text",
    "revision": 1
  }
}

Last updated

Was this helpful?