Orders / Print Etickets

NameOrders / Print Etickets
DescriptionRetrieve the etickets that have been uploaded to this order.
TypeGET
URL/v9/orders/:order_id/print_etickets
Credential TypeAPI|User
Supports PaginationN/A

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_idThe ID of an order for your BrokerageIntegerRequiredURI
item_idReturn only the etickets for this order item IDIntegerOptionalQuery

 

Examples

RequestResponse

Retrieve all Etickets from order 111

/v9/orders/111/print_etickets

{
  "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

/v9/orders/111/print_etickets?item_id=2223

{
  "files" : [
    {
      :item_id => 2223,
      :content => "<base64 encoded file>"
    }
  ]
}