Orders / Deliver Etickets

NameOrders Deliver Etickets
DescriptionUpload a PDF containing all of the eticket(s) to deliver to a buyer.
TypePOST

URL

/v9/orders/:order_id/deliver_etickets
Former URL/v9/orders/:order_id/store_etickets

Long Description

Use this action to upload etickets for an item in the order. The file must be encoded in Base64, as it will be decoded as such on the receiving end. The file must include all, and only all of the etickets for the item_id. 

If you wish to deliver the etickets as individual files for each ticket or you need to deliver more pages than the quantity of tickets sold you must use Items / Add Etickets then Items / Finalize Etickets.


Parameters

Name
Description
Value Type
Required
eticketsArray of objects containing the eticket(s) file(s) and their item_id(s)ArrayRequired

etickets parameters

Name
Description
Value Type
Required
item_idThe ID of the item for which the eticket(s) will be uploaded. The order_item_id within the items array of the Order.IntegerRequired
eticketThe Base64-encoded PDF file of the eticket(s)StringRequired

Examples

RequestResponse
/v9/orders/12345/deliver_etickets
{
  "etickets": [
    {
      "item_id": 123456,
      "eticket":<base64-encoded file>"
    }
  ]
}
{
  "result":"success"
}