Create Agreement Attachment

post

/v1/commerce/agreements/{agreementId}/attachments

Path parameters
agreementIdstringrequired
Body
filestring · binary
attachmentobject

Json representation of the attachment

Responses
curl -L \
  --request POST \
  --url 'https://api.platform.softwareone.com/public/v1/commerce/agreements/{agreementId}/attachments' \
  --header 'Content-Type: multipart/form-data'
{
  "id": "text",
  "audit": {},
  "$meta": {},
  "href": "text",
  "name": "text",
  "type": "text",
  "description": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "orderId": "text",
  "licenseKey": "text",
  "agreement": {}
}

Was this helpful?


#227:

Change request updated