purchase_order_add_attachment
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | AddPurchaseOrderAttachmentInput! | Yes |
Return Type
AddPurchaseOrderAttachmentOutput
Mutation
mutation purchase_order_add_attachment(
$data: AddPurchaseOrderAttachmentInput!
) {
purchase_order_add_attachment(
data: $data
) {
request_id
complexity
attachment {
id
legacy_id
url
user_id
account_id
po_li_sku
description
filename
file_type
file_size
created_at
}
}
}Variables
{
"data": {
"po_id": "abc123",
"url": "abc123",
"description": "abc123",
"filename": "abc123",
"file_type": "abc123"
}
}Response
{
"data": {
"purchase_order_add_attachment": {
"request_id": "abc123",
"complexity": 987,
"attachment": PurchaseOrderAttachment
}
}
}