Order item
Order item schema
_branchId
integer
Branch ID
📶 EQUALS
,ENUM
_categoryId
long
Category ID
📶 EQUALS
,ENUM
_cloudId
integer
Cloud ID
📶 EQUALS
,ENUM
_courseId
long?
Course ID
📶 EQUALS
,ENUM
_customerId
long?
Customer ID
📶 EQUALS
,ENUM
_eetSubjectId
long?
EET Subject ID
📶 EQUALS
,ENUM
_employeeId
long
Employee ID
📶 EQUALS
,ENUM
_orderId
long
Order ID
📶 EQUALS
,ENUM
_productId
long
Product ID
📶 EQUALS
,ENUM
_relatedOrderItemId
long?
Order Item ID
📶 EQUALS
,ENUM
_sellerId
long?
Seller ID
📶 EQUALS
,ENUM
alternativeName
string?
Product alternative name
billedUnitPriceWithVat
double
Unit price with vat after discount
billedUnitPriceWithoutVat
double
Unit price without vat after discount
canceledDate
timestamp?
Date of item canceled
📶 EQUALS
, ENUM
, NUMBER
🔽 BOTH
completed
timestamp?
Date of item (Order) completed
📶 EQUALS
, ENUM
, NUMBER
🔽 BOTH
created
timestamp
Date of item created (added to Order)
📶 EQUALS
, ENUM
, NUMBER
🔽 BOTH
currency
string(3)
Currency code
discountPercent
double
Discount percent
discountPermitted
boolean
Enabled discount
📶 EQUALS
, ENUM
ean
string[]
EAN for item (from product)
📶 EQUALS
, ENUM
flags
integer
Special settings for Order item in binary form.
📶 BITS
id
long
Primary ID for Order item
name
string
Name of item / product.
📶 STRING
🔽 BOTH
note
string
Note for item
📶 STRING
onSale
boolean
Is item on sale
📶 EQUALS
, ENUM
packaging
double
Packaging value for item / product
parked
boolean
Is item parked
📶 EQUALS
, ENUM
points
double
Points value for Order item
preparationDuration
integer?
The time in seconds needed to prepare the product
quantity
double
Quantity of item / product
stockDeduct
boolean
📶 EQUALS
, ENUM
subtitle
string
📶 STRING
tags
string[]
Tags for item
📶 EQUALS
, ENUM
totalPriceWithVat
double
Total is with quantity
totalPriceWithoutVat
double
Total is with quantity
unit
enum
Item / Product unit
unitPriceWithVat
double
Unit price with vat before discount
unitPriceWithoutVat
double
Unit price without vat before discount
unitPurchasePrice
double
Value of purchase price per unit
updated
timestamp
Date updated
📶 EQUALS
, ENUM
, NUMBER
🔽 BOTH
vat
double
Vat rate
versionDate
timestamp
Last modification date and time
📶 EQUALS
, ENUM
, NUMBER
🔽 BOTH
JSON response
Customization
Get order items
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/order-items
This endpoint includes customizations in an additional field orderItemCustomizations
of type list.
Path Parameters
Name | Type | Description |
---|---|---|
cloudId* | integer |
Query Parameters
Name | Type | Description |
---|---|---|
sort | string | |
filter | string | |
page | integer | |
limit | integer |
Headers
Name | Type | Description |
---|---|---|
If-None-Match | string | ETag to return results only if changed. |
Authorization* | string | Bearer accessToken |
Get order item
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/order-items/:orderItemId
This endpoint includes customizations in an additional field orderItemCustomizations
of type list.
Path Parameters
Name | Type | Description |
---|---|---|
orderItemId* | string | |
cloudId* | string |
Headers
Name | Type | Description |
---|---|---|
If-None-Match | string | ETag to return results only if changed. |
Authorization* | string | Bearer accessToken |
Options order items
OPTIONS
https://api.dotykacka.cz/v2/clouds/:cloudId/order-items
Path Parameters
Name | Type | Description |
---|---|---|
cloudId* | integer |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer accessToken |
Options order item
OPTIONS
https://api.dotykacka.cz/v2/clouds/:cloudId/order-items/:orderItemId
Path Parameters
Name | Type | Description |
---|---|---|
orderItemId* | integer | |
cloudId* | integer |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer accessToken |
Last updated