Get Order

Get a single order that the user has access to.

GEThttps://api.platform.softwareone.com/public/v1/commerce/orders/{id}
Path parameters
id*string
Query parameters
Response

Success

Body
idstring
auditobject
$metaobject
hrefstring
typeobject
statusobject
notesnullable string
statusNotesobject
templateobject
listingobject
authorizationobject
agreementobject
assigneeobject
externalIdsobject
priceobject
linesarray
subscriptionsarray of OrderSubscription (object)
parametersobject
errorobject
productobject
clientobject
licenseeobject
buyerobject
sellerobject
vendorobject
termsAndConditionsarray
Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/orders/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "id": "text",
  "href": "text",
  "notes": "text",
  "lines": [],
  "subscriptions": [
    {
      "id": "text",
      "href": "text",
      "name": "text",
      "startDate": "2025-01-23T21:03:55.955Z",
      "terminationDate": "2025-01-23T21:03:55.955Z",
      "autoRenew": false,
      "commitmentDate": "2025-01-23T21:03:55.955Z",
      "lines": []
    }
  ],
  "termsAndConditions": []
}

Last updated