# Get Order Files This endpoint allows you to retrieve files that are associated with a particular order identified by orderId. It's useful for fetching documents, images, or any other files related to the order for viewing or downloading purposes. Endpoint: GET /orders/{orderId}/files Version: 1.0.0 Security: bearerAuth ## Path parameters: - `orderId` (integer, required) ID of the order to get files from ## Response 200 fields (application/json): - `data` (array) Array of uploaded file information - `data.id` (integer) Document ID Example: 785 - `data.type` (string) Type of order file document. Available file types: - DO: Delivery Order - DG form: Dangerous Goods Form - POD: Proof of Delivery - Packing List: Packing List Document - MBL: Master Bill of Lading - Telex: Telex Release - PU#: Pickup Number - MSDS: Material Safety Data Sheet - Payment Proof: Proof of Payment - Scale Ticket: Scale Ticket Document - SOC Return Guarantee Letter: SOC Return Guarantee Letter - Ingate EIR: Ingate Equipment Interchange Receipt - Proof of Terminal apt time: Proof of Terminal Appointment Time - Proof of Terminal pickup apt time: Proof of Terminal Pickup Appointment Time - Proof of Terminal return apt time: Proof of Terminal Return Appointment Time - Proof of Empty Returned: Proof of Empty Container Return - Vendor Invoice: Vendor Invoice Document - Arrival Notice: Arrival Notice Document - Other: Other Document Types Enum: "DO", "DG form", "POD", "Packing List", "MBL", "Telex", "PU#", "MSDS", "Payment Proof", "Scale Ticket", "SOC Return Guarantee Letter", "Ingate EIR", "Proof of Terminal apt time", "Proof of Terminal pickup apt time", "Proof of Terminal return apt time", "Proof of Empty Returned", "Vendor Invoice", "Arrival Notice", "Other" - `data.is_customer_upload` (boolean) Whether document was uploaded by customer - `data.url` (string) Document URL Example: "https://api.drayeasy.com/api/v2/orders/13730/files/785" - `data.filename` (string) Document filename Example: "invoice.pdf" ## Response 401 fields ## Response 403 fields