Create Agreement Attachment

post
Path parameters
agreementIdstringrequired
Body
attachmentobjectoptional

Json representation of the attachment

filestring · binaryoptional
Responses
curl -L \
  --request POST \
  --url 'https://api.platform.softwareone.com/public/v1/commerce/agreements/{agreementId}/attachments' \
  --header 'Content-Type: multipart/form-data' \
  --form 'attachment=[object Object]' \
  --form 'file=binary'
{
  "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?

#330:

Change request updated