Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
labelapi_docs_items
NameItems Add Etickets
DescriptionAdd Eticket files to items
TypePOST
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

Name
Description
Value Type
Required
filesAn array of Base-64 encoded filesArrayRequired

...


Examples

RequestResponse
/v9/orders/75214/items/26319
 

Code Block
language
code
ruby
themeConfluence
languageruby
{
  "files":[
    "<base-64 encoded file>",
    "<another base-64 encoded file>"
  ]
}
 


See Items / Show