Product Customization

Product Customization schema

id long? Product Customization ID - cannot be null in PUT/PATCH methods πŸ“Ά EQUALS,ENUM

_categoryId long Category ID πŸ“Ά EQUALS,ENUM

_cloudId long Cloud ID​

_productId long Product ID πŸ“Ά EQUALS,ENUM

_defaultProductIds string[] Default selection of multiple product IDs​

deleted boolean Customization deleted πŸ“Ά EQUALS, ENUM πŸ”½ BOTH

flags integer Customization flags πŸ“Ά BITS

maxSelected integer Maximum selected items count

minSelected integer Minimum selected items count

name string?(400) Customization name πŸ“Ά STRING πŸ”½ BOTH

sortOrder long Customization sort order πŸ”½ NONE

versionDate timestamp? Last modification date and time πŸ“Ά EQUALS, ENUM, NUMBER πŸ”½ BOTH

JSON response

{
"_categoryId": <long>,
"_cloudId": <integer>,
"_productId": <long>,
"_defaultProductIds": [<long>, ... ],
"deleted": <boolean>,
"flags": <integer>,
"id": <long>,
"maxSelected": <integer>,
"minSelected": <integer>,
"name": <string>,
"sortOrder": <integer>,
"versionDate": <timestamp>
}

Product customization flags

Bit

Name

0

DEFAULT_SELECTION_GRATIS

1

ONE_CHEAPEST_ITEM_GRATIS

2

ALL_ITEMS_GRATIS

get
Get product customizations

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations
Get a custom-sorted paginated list of product customizations matching the filter criteria.
Request
Response
Request
Path Parameters
cloudId
required
integer
ID of the cloud.
Headers
optional
string
​
Authorization
required
string
Bearer accessToken
If-None-Match
optional
string
ETag to return results only if changed.
Query Parameters
filter
optional
string
Filter conditions.
sort
optional
string
Sort parameter.
page
optional
integer
Page to start with.
limit
optional
integer
Page size (100 records maximum)
Response
200: OK
​

get
Get product customization by ID

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations/:entityId
Get a single product customization identified by its ID.
Request
Response
Request
Path Parameters
cloudId
required
integer
ID of the cloud.
entityId
required
integer
ID of the product customization to get.
Headers
Authorization
required
string
Bearer accessToken
If-None-Match
optional
string
ETag to return results only if changed.
Response
200: OK
​

post
Create new product customizations

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations
Create a list of new product customizations.
Request
Response
Request
Path Parameters
cloudId
required
integer
ID of the cloud.
Headers
Authorization
required
string
Bearer accessToken
Response
200: OK
​

put
Replace or create product customizations

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations
Replace a list of product customizations.
Request
Response
Request
Path Parameters
cloudId
required
integer
ID of the cloud.
Headers
Authorization
required
string
Bearer accessToken
If-Match
required
string
ETag to update only if not changed.
Response
200: OK
​

put
Replace or create product customization

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations/:entityId
Replace a single product customization identified by its ID.
Request
Response
Request
Path Parameters
cloudId
required
integer
ID of the cloud.
entityId
required
integer
ID of the product customization to replace.
Headers
Authorization
required
string
Bearer accessToken
If-Match
required
string
ETag to update only if not changed.
Response
200: OK
​

patch
Partial update of product customization

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations/:entityId
Update a single product customization identified by its ID.
Request
Response
Request
Path Parameters
cloudId
required
integer
ID of the cloud.
entityId
required
integer
ID of the product customization to update.
Headers
Authorization
required
string
Bearer accessToken
If-Match
required
string
ETag to update only if not changed.
Response
200: OK
​

delete
Delete product customization

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations/:entityId
Delete a single product customization identified by its ID.
Request
Response
Request
Path Parameters
cloudId
required
string
ID of the cloud.
entityId
required
string
ID of the product customization to delete.
Headers
Authorization
required
string
Bearer accessToken
If-Match
required
string
ETag ignored (temporarily) when deleting an entity.
Response
200: OK
Cake successfully retrieved.
​
404: Not Found
Could not find a cake matching this query.
​

options
Options product customizations

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations
Request
Response
Request
Path Parameters
cloudId
required
integer
ID of the cloud.
Headers
Authorization
required
string
Bearer accessToken
Response
200: OK
​

options
Options product customization

https://api.dotykacka.cz/v2/clouds/:cloudId/product-customizations/:entityId
Request
Response
Request
Path Parameters
cloudId
required
integer
ID of the cloud.
entityId
required
integer
ID of the product customization to get the options for.
Headers
Authorization
required
string
Bearer accessToken
Response
200: OK
​