Orders / Print Etickets

Orders / Print Etickets

Name

Orders / Print Etickets

Description

Retrieve the etickets that have been uploaded to this order.

Type

GET

URL

/v9/orders/:order_id/print_etickets

Credential Type

API|User

Supports Pagination

N/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_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

/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>" } ] }