Loading...
Request attachment id
No Content
Success
Json representation of the attachment
Created
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/agreements/{agreementId}/attachments/{id}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "type": "text", "title": "text", "detail": "text", "instance": "text" }
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/agreements/{agreementId}/attachments', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "id": "text", "href": "text", "name": "text", "type": "text", "description": "text", "filename": "text", "contentType": "text", "orderId": "text", "licenseKey": "text" } ] }
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/agreements/{agreementId}/attachments/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "text", "href": "text", "name": "text", "type": "text", "description": "text", "filename": "text", "contentType": "text", "orderId": "text", "licenseKey": "text" }
const response = await fetch('https://api.platform.softwareone.com/public/v1/commerce/agreements/{agreementId}/attachments', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({}), }); const data = await response.json();