Discount group
Last updated
Was this helpful?
Last updated
Was this helpful?
id
long?
ID - cannot be null in PUT/PATCH methods
📶 EQUALS
,ENUM
_cloudId
integer
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
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups
cloudId*
integer
page
integer
limit
integer
filter
string
sort
string
If-None-Match
string
ETag to return results only if changed.
Authorization*
string
Bearer accessToken
GET
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups/:discountGroupId
discountGroupId*
integer
cloudId*
integer
If-None-Match
string
ETag to return results only if changed.
Authorization*
string
Bearer accessToken
POST
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups
cloudId*
integer
Authorization*
string
Bearer accessToken
*
array
Array of discount groups. Maximum size 100.
PUT
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups
cloudId*
integer
If-Match
string
ETag to update only if not changed.
Authorization*
string
Bearer accessToken
*
array
Array of discount groups. Maximum size 100.
PUT
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups/:discountGroupId
discountGroupId*
integer
cloudId*
integer
If-Match
string
ETag to update only if not changed.
Authorization*
string
Bearer accessToken
*
object
Discount gorup
PATCH
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups/:discountGroupId
discountGroupId*
integer
cloudId*
integer
If-Match*
string
ETag to update only if not changed.
Authorization*
string
Bearer accessToken
DELETE
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups/:discountGroupId
Discount group cannot belong to any Customer (deleted=false).
First remove discount group for all customers via GET/PUT methods. For GET method use filter=_discountGroupId|eq|discountGroupId
discountGroupId*
integer
cloudId*
integer
If-Match
string
ETag ignored (temporarily) when deleting an entity.
Authorization*
string
Bearer accessToken
OPTIONS
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups
cloudId*
integer
Authorization*
string
Bearer accessToken
OPTIONS
https://api.dotykacka.cz/v2/clouds/:cloudId/discount-groups/:discountGroupId
discountGroupId*
integer
cloudId*
integer
Authorization*
string