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": "UmV0dXJuOjEyMzQ=",
  "url": "https://example.com/resource",
  "filename": "Acme Corp",
  "file_type": "application/pdf",
  "description": "Customer requested expedited handling.",
  "return_item_id": "UmV0dXJuSXRlbToxMjM0"
}