Orders / Print Etickets
Long Description
Return all of the etickets that have been uploaded for the items in the order. Etickets are PDFs encoded with Base64, so they must be decoded on the receiving end.
Parameters
Name | Description | Type | Presence | Location |
---|---|---|---|---|
order_id | The ID of an order for your Brokerage | Integer | Required | URI |
item_id | Return only the etickets for this order item ID | Integer | Optional | Query |
Examples
Request | Response |
---|---|
Retrieve all Etickets from order 111
| { "files" : [ { :item_id => 2222, :content => "<base64 encoded file>" }, { :item_id => 2223, :content => "<base64 encoded file>" } ] } |
Retrieve just the Etickets for item 2223 or order 111
| { "files" : [ { :item_id => 2223, :content => "<base64 encoded file>" } ] } |