product_id | string <uuid> Product identifier. | ||||||||
ticket_id | string <uuid> Ticket identifier. | ||||||||
quantity | integer <int32> >= 1 Quantity. | ||||||||
object (Customer Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
object (Customer Money) The gross price of the product line. This is calculated using | |||||||||
| |||||||||
object (Customer Money) The order debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the order debtor (customer) of the ticket. For example: Given
Then the order debtor discount becomes:
| |||||||||
| |||||||||
order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. | ||||||||
order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. | ||||||||
object (Customer Money) The invoice debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the invoice debtor of the ticket's customer. For example: Given
Then the invoice debtor discount becomes:
| |||||||||
| |||||||||
invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. | ||||||||
invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. | ||||||||
object (Customer Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||||||
|
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}
Retrieve a list of product lines belonging to a ticket.
Successful response.
object >= 0 properties Applied query parameters, including defaults. | |||||||||||||||||||||||||
Array of objects (Product line) >= 0 items List of product lines. | |||||||||||||||||||||||||
Array (>= 0 items)
| |||||||||||||||||||||||||
total | integer <int64> Total number of resources matching provided query parameters. |
An error occurred - see status code and problem response for more information.
{- "query": {
- "limit": 25,
- "offset": 0
}, - "result": [
- {
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}
], - "total": 3255
}
Add a product line to a ticket.
The product line you want to add.
product_id required | string <uuid> Product identifier. |
ticket_id required | string <uuid> Ticket identifier. |
quantity required | integer <int32> >= 1 Quantity. |
order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. |
order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. |
invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. |
invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. |
Successful response.
product_id | string <uuid> Product identifier. | ||||||||
ticket_id | string <uuid> Ticket identifier. | ||||||||
quantity | integer <int32> >= 1 Quantity. | ||||||||
object (Customer Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
object (Customer Money) The gross price of the product line. This is calculated using | |||||||||
| |||||||||
object (Customer Money) The order debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the order debtor (customer) of the ticket. For example: Given
Then the order debtor discount becomes:
| |||||||||
| |||||||||
order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. | ||||||||
order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. | ||||||||
object (Customer Money) The invoice debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the invoice debtor of the ticket's customer. For example: Given
Then the invoice debtor discount becomes:
| |||||||||
| |||||||||
invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. | ||||||||
invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. | ||||||||
object (Customer Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||||||
|
An error occurred - see status code and problem response for more information.
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5
}
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}
Retrieve a ticket product line by its identifier.
Successful response.
product_id | string <uuid> Product identifier. | ||||||||
ticket_id | string <uuid> Ticket identifier. | ||||||||
quantity | integer <int32> >= 1 Quantity. | ||||||||
object (Customer Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
object (Customer Money) The gross price of the product line. This is calculated using | |||||||||
| |||||||||
object (Customer Money) The order debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the order debtor (customer) of the ticket. For example: Given
Then the order debtor discount becomes:
| |||||||||
| |||||||||
order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. | ||||||||
order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. | ||||||||
object (Customer Money) The invoice debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the invoice debtor of the ticket's customer. For example: Given
Then the invoice debtor discount becomes:
| |||||||||
| |||||||||
invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. | ||||||||
invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. | ||||||||
object (Customer Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||||||
|
An error occurred - see status code and problem response for more information.
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}
Update a ticket product line by its identifier.
The product line you want to update.
quantity required | integer <int32> >= 1 Quantity. |
order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. |
order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. |
invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. |
invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. |
Successful response.
product_id | string <uuid> Product identifier. | ||||||||
ticket_id | string <uuid> Ticket identifier. | ||||||||
quantity | integer <int32> >= 1 Quantity. | ||||||||
object (Customer Money) The gross price of one unit of the product line. This is the product gross price of the referenced product at the time of adding this product line. | |||||||||
| |||||||||
object (Customer Money) The gross price of the product line. This is calculated using | |||||||||
| |||||||||
object (Customer Money) The order debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the order debtor (customer) of the ticket. For example: Given
Then the order debtor discount becomes:
| |||||||||
| |||||||||
order_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the order debtor (customer) of the ticket. | ||||||||
order_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the order debtor (customer) of the ticket. This defaults to the discount the order debtor (customer) receives according to its price list code. | ||||||||
object (Customer Money) The invoice debtor discount for this product line. This is the sum of the percentual discount and the monetary discount for the invoice debtor of the ticket's customer. For example: Given
Then the invoice debtor discount becomes:
| |||||||||
| |||||||||
invoice_debtor_monetary_discount | number <float> >= 0 Default: 0 The monetary discount for the invoice debtor of the ticket's customer. | ||||||||
invoice_debtor_percentual_discount | number <float> [ 0 .. 100 ] Default: 0 The percentual discount for the invoice debtor of the ticket's customer. This defaults to the discount the invoice debtor receives according to its price list code. | ||||||||
object (Customer Money) The original equipment service fee for this product line. This is the original equipment service fee of the referenced product at the time of adding this product line. | |||||||||
|
An error occurred - see status code and problem response for more information.
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5
}
{- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "ticket_id": "595be628-f6f2-4262-9c10-6389c6c4a5b8",
- "quantity": 1,
- "unit_gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "gross_price": {
- "amount": 105.5,
- "currency": "EUR",
- "customer_amount": 90.56,
- "customer_currency": "GBP"
}, - "order_debtor_discount": {
- "amount": 27.13,
- "currency": "EUR",
- "customer_amount": 23.29,
- "customer_currency": "GBP"
}, - "order_debtor_monetary_discount": 5.5,
- "order_debtor_percentual_discount": 20.5,
- "invoice_debtor_discount": {
- "amount": 42.68,
- "currency": "EUR",
- "customer_amount": 36.64,
- "customer_currency": "GBP"
}, - "invoice_debtor_monetary_discount": 10.5,
- "invoice_debtor_percentual_discount": 30.5,
- "original_equipment_service_fee": {
- "amount": 2.5,
- "currency": "EUR",
- "customer_amount": 2.15,
- "customer_currency": "GBP"
}
}
Remove a ticket product line by its identifier.
Successfully removed.
An error occurred - see status code and problem response for more information.
Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}