input AddReturnAttachmentInput

Fields

FieldTypeDescription
return_idString!

The return to attach the file to

urlURL!

Publicly accessible URL of the file to attach

filenameString

Name of the file (e.g., 'damage-photo.jpg')

file_typeString

Type of the file (e.g., 'image/jpeg', 'pdf'). Maximum 20 characters.

descriptionString

Description of what this attachment shows

return_item_idString

Optional: associate with a specific return item. If omitted, the attachment applies to the whole return.

Referenced By

Example

{
  "return_id": "abc123",
  "url": "abc123",
  "filename": "abc123",
  "file_type": "abc123",
  "description": "abc123",
  "return_item_id": "abc123"
}