Page Properties |
---|
|
Name | Items Finalize Etickes |
---|
Description | Finalize etickets on an order item for delivery. |
---|
Type | POST |
---|
URL | /v9/orders/:order_id/items/:item_id/finalize_etickets |
---|
|
Long Description
Finalize the etickets on an order item after using Items / Add Etickets. You must pass an array of pages which will be kept in the final delivery. If a client order exists in the order chain, an email will be sent at this time if this setting is turned on in the settings app.
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
'.
Parameters
| | | |
---|
keep_pages | Array of page numbers which will be kept in the final eticket pack | Array of integers | Required |
ignore_quantity | Pass if you would |
not verify skip verifying that the number of final pages equal the quantity of the item such as in a case where you need to deliver 5 pages when only 4 tickets sold. | Boolean | Optional |
...
Examples
Request | Response |
---|
POST /v9/orders/75214/items/26319/finalize_etickets |
|
|
codelanguageruby | {
"keep_pages":[1,2,3,4,5],
"ignore_quantity": true
} |
|