Create Request Attachment
Last updated
Was this helpful?
Last updated
Was this helpful?
Create a request attachment.
POST /public/v1/commerce/requests/{requestId}/attachments HTTP/1.1
Host:
Content-Type: multipart/form-data
Accept: */*
Content-Length: 67
{
"attachment": {
"Name": "text",
"Description": "text"
},
"file": "binary"
}
{
"id": "text",
"audit": {
"created": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"name": "text",
"type": "text",
"description": "text",
"filename": "text",
"size": 1,
"contentType": "text",
"request": {
"id": "text",
"audit": {
"created": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"externalId": "text",
"name": "text",
"status": "text",
"error": "text",
"from": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"requester": {
"id": "text",
"icon": "text",
"name": "text"
},
"assignee": {
"id": "text",
"icon": "text",
"name": "text"
},
"to": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"product": {
"id": "text",
"name": "text",
"externalIds": {
"operations": "text"
},
"icon": "text",
"status": "text"
},
"parameters": [
{
"id": "text",
"audit": {
"created": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"externalId": "text",
"title": "text",
"description": "text",
"value": "text",
"displayOrder": 1,
"constraints": {
"isReadonly": true,
"isOptional": true
},
"typeOptions": null,
"errorMessage": "text",
"errorCode": "text",
"request": {
"id": "text",
"audit": {
"created": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"externalId": "text",
"name": "text",
"status": "text",
"error": "text",
"from": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"requester": {
"id": "text",
"icon": "text",
"name": "text"
},
"assignee": {
"id": "text",
"icon": "text",
"name": "text"
},
"to": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"product": {
"id": "text",
"name": "text",
"externalIds": {
"operations": "text"
},
"icon": "text",
"status": "text"
},
"parameters": [
"[Circular Reference]"
],
"messages": [
"[Circular Reference]"
]
}
}
],
"messages": [
{
"id": "text",
"audit": {
"created": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"visibility": {
"client": true,
"operations": true,
"vendor": true
},
"account": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"type": "text",
"content": "text",
"request": {
"id": "text",
"audit": {
"created": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"externalId": "text",
"name": "text",
"status": "text",
"error": "text",
"from": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"requester": {
"id": "text",
"icon": "text",
"name": "text"
},
"assignee": {
"id": "text",
"icon": "text",
"name": "text"
},
"to": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"product": {
"id": "text",
"name": "text",
"externalIds": {
"operations": "text"
},
"icon": "text",
"status": "text"
},
"parameters": [
{
"id": "text",
"audit": {
"created": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"externalId": "text",
"title": "text",
"description": "text",
"value": "text",
"displayOrder": 1,
"constraints": {
"isReadonly": true,
"isOptional": true
},
"typeOptions": null,
"errorMessage": "text",
"errorCode": "text",
"request": {
"id": "text",
"audit": {
"created": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
},
"updated": {
"at": "2025-05-16T05:36:31.978Z",
"by": {
"id": "text",
"name": "text",
"icon": "text"
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"externalId": "text",
"name": "text",
"status": "text",
"error": "text",
"from": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"requester": {
"id": "text",
"icon": "text",
"name": "text"
},
"assignee": {
"id": "text",
"icon": "text",
"name": "text"
},
"to": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"product": {
"id": "text",
"name": "text",
"externalIds": {
"operations": "text"
},
"icon": "text",
"status": "text"
},
"parameters": [
"[Circular Reference]"
],
"messages": [
"[Circular Reference]"
]
}
}
],
"messages": [
"[Circular Reference]"
]
}
}
]
}
}