Update Request

Update some properties (assignee and externalIDs) of a request.

Updates request. Not every property is updatable.

PUThttps://api.platform.softwareone.com/public/v1/commerce/requests/{id}
Path parameters
id*string

Request id

Query parameters
Body

Request

idstring
auditobject
$metaobject
hrefstring
externalIdnullable string
namestring
statusstring
errornullable string
fromobject
requesterobject
assigneeobject
toobject
productobject
parametersarray
messagesarray of RequestMessageQueryModel (object)
Response

Success

Body
idstring
auditobject
$metaobject
hrefstring
externalIdnullable string
namestring
statusstring
errornullable string
fromobject
requesterobject
assigneeobject
toobject
productobject
parametersarray
messagesarray of RequestMessageQueryModel (object)
Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/requests/{id}', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "id": "text",
  "href": "text",
  "externalId": "text",
  "name": "text",
  "status": "text",
  "error": "text",
  "parameters": [],
  "messages": [
    {
      "id": "text",
      "href": "text",
      "type": "text",
      "content": "text"
    }
  ]
}

Last updated

SoftwareOne is a trademark of SoftwareOne, Inc. "The Software Licensing Experts" is a service mark of SoftwareOne, Inc. VAR assist is a trademark of SoftwareOne, Inc. "It pays to partner" is a service mark of SoftwareOne, Incorporated.

Change request #498: