API
Ask or search…
K
Links

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
priceLevel enum? Define which price level use.
sortOrder long Customization sort order 🔽 NONE
versionDate timestamp? Last modification date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH

ProductCustomization.priceLevel (enum)

// representation as string
B, C, D, E
priceLevels are only applicable in Poland. Settings for other countries are not reflected.
{
"_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
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations
Get product customizations
get
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations/:entityId
Get product customization by ID
post
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations
Create new product customizations
put
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations
Replace or create product customizations
put
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations/:entityId
Replace or create product customization
patch
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations/:entityId
Partial update of product customization
delete
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations/:entityId
Delete product customization
options
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations
Options product customizations
options
https://api.dotykacka.cz/v2
/clouds/:cloudId/product-customizations/:entityId
Options product customization