Orders / Deliver 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 |
---|---|---|---|
etickets | Array of objects containing the eticket (s) file(s) and their item_id (s) | Array | Required |
etickets
parameters
Name | Description | Value Type | Required |
---|---|---|---|
item_id | The ID of the item for which the eticket(s) will be uploaded. The order_item_id within the items array of the Order. | Integer | Required |
eticket | The Base64-encoded PDF file of the eticket(s) | String | Required |
Examples
Request | Response |
---|---|
/v9/orders/12345/deliver_etickets | |
{ "etickets": [ { "item_id": 123456, "eticket":<base64-encoded file>" } ] } | { "result":"success" } |