API
Search
⌃K
Links

Discount group

Discount group schema

id long? ID - cannot be null in PUT/PATCH methods 📶 EQUALS,ENUM
_cloudId integer Cloud
deleted boolean Discount group deleted - cannot be true in POST/PUT/PATCH methods 📶 EQUALS, ENUM 🔽 BOTH
discountPercent double(100) Represent percent value. Maximum value is 100 (100 = 100%)
display boolean Displayed 📶 EQUALS, ENUM 🔽 BOTH
externalId string 📶 EQUALS, ENUM
name string(100) Name for discount group 📶 EQUALS, ENUM
versionDate timestamp? Last modification date and time 📶 EQUALS, ENUM, NUMBER 🔽 BOTH

JSON response

JSON
{
"_cloudId": <integer>,
"discountPercent": <double>,
"deleted": <boolean>,
"display": <boolean>,
"externalId": <string>,
"id": <long>,
"name": <string>,
"versionDate": <timestamp>
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups
Get discount groups
get
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups/:discountGroupId
Get discount group
post
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups
Create discount groups
put
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups
Replace or create discount-groups
put
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups/:discountGroupId
Replace or create discount group
patch
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups/:discountGroupId
Partial update of discount group
delete
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups/:discountGroupId
Delete discount group
options
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups
Options discount groups
options
https://api.dotykacka.cz
/v2/clouds/:cloudId/discount-groups/:discountGroupId
Options discount group