All pages
Powered by GitBook
1 of 1

Loading...

Render Agreement Template

put
Path parameters
agreementIdstringRequired
idstringRequired
Body
idstringOptional
auditall ofOptional
$metaall ofOptional
namestringOptional
typestringOptional
descriptionstringOptional
filenamestring | nullableOptional
sizeinteger · int32 | nullableOptional
contentTypestringOptional
orderIdstringOptional
licenseKeystringOptional
agreementall ofOptional
Responses
200

OK

application/json
403

Forbidden

application/json
404

Not Found

application/json
put
/public/v1/commerce/agreements/{agreementId}/attachments/{id}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-12-14T07:59:46.564Z",
      "by": {}
    },
    "updated": {
      "at": "2025-12-14T07:59:46.564Z",
      "by": {}
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "type": "text",
  "description": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "orderId": "text",
  "licenseKey": "text",
  "agreement": {
    "id": "text",
    "icon": "text",
    "status": "text",
    "name": "text"
  }
}
PUT /public/v1/commerce/agreements/{agreementId}/attachments/{id} HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 360

{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-12-14T07:59:46.564Z",
      "by": {}
    },
    "updated": {
      "at": "2025-12-14T07:59:46.564Z",
      "by": {}
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "type": "text",
  "description": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "orderId": "text",
  "licenseKey": "text",
  "agreement": {
    "id": "text",
    "icon": "text",
    "status": "text",
    "name": "text"
  }
}