Page Properties |
---|
|
Name | Items Add Etickets |
---|
Description | Add Eticket files to items |
---|
Type | POST |
---|
URL | /v9/orders/:order_id/items/:item_id/add_etickets |
---|
|
Long Description
Post individual eticket files for items. You can post multiple files simultaneously and they will be joined together into one file. If you already have all (and only all) of the tickets in a single file then you need to use Items / Deliver Etickets instead. Use the Items / Finalize Etickets action when you are finished adding etickets.
The item_id
in the URL can be found in the items array of an Order and is the property labeled 'id
' (orders[]->items[]->id
), it is not the property labeled 'order_item_id
'.
Info |
---|
If you already have all (and only all) of the tickets in a single file then you should use Items / Deliver Etickets instead. |
Parameters
| | | |
---|
files | An array of Base-64 encoded files | Array | Required |
...
Examples
Request | Response |
---|
/v9/orders/75214/items/26319 |
codelanguage | ruby |
---|
{
"files":[
"<base-64 encoded file>",
"<another base-64 encoded file>"
]
} |
|