Mutation
mutation order_add_attachment(
$data: OrderAddAttachmentInput!
) {
order_add_attachment(
data: $data
) {
request_id
complexity
attachment {
...OrderAttachmentFragment
id
legacy_id
order_id
account_id
description
url
filename
file_type
file_size
created_at
}
}
}
Variables
{
"data": {
"order_id": "abc123",
"url": URL,
"customer_account_id": "abc123",
"filename": "abc123",
"file_type": "abc123",
"description": "abc123"
}
}
Response
{
"data": {
"order_add_attachment": {
"request_id": "abc123",
"complexity": 987,
"attachment": OrderAttachment
}
}
}