input AddReturnAttachmentInput
Fields
| Field | Type | Description |
|---|---|---|
return_id | String! | The return to attach the file to. |
url | URL! | Publicly accessible URL of the file to attach. |
filename | String | Name of the file (e.g., 'damage-photo.jpg'). |
file_type | String | Type of the file (e.g., 'image/jpeg', 'pdf'). Maximum 20 characters. |
description | String | Description of what this attachment shows. |
return_item_id | String | Optional: associate with a specific return item. If omitted, the attachment applies to the whole return. |
Referenced By
- return_add_attachment Mutation
Example
{
"return_id": "UmV0dXJuOjEyMzQ=",
"url": "https://example.com/resource",
"filename": "Acme Corp",
"file_type": "application/pdf",
"description": "Customer requested expedited handling.",
"return_item_id": "UmV0dXJuSXRlbToxMjM0"
}