Get the full discount with the provided UUID. The method supports conditional GET through providing a HttpHeaders.IF_NONE_MATCH header. If the conditional prerequisite is fullfilled, the full discount is returned: otherwise a 304 not modified will be returned with an empty body.
643 matches
29 actions
Product Library
29 actions
- Create a discountPOSTv1.0.0
- Create a new categoryPOSTv1.0.0
- Create a new productPOSTv1.0.0
- Create a product identifierPOSTv1.0.0
- Create new tax ratesPOSTv1.0.0
- Delete a categoryDELETEv1.0.0
- Delete a list of productsDELETEv1.0.0
- Delete a single discount DELETEv1.0.0
- Delete a single productDELETEv1.0.0
- Delete a single tax rateDELETEv1.0.0
- Get a single tax rateGETv1.0.0
- Get all available tax ratesGETv1.0.0
- Get all tax rates and a count of products associated with eachGETv1.0.0
- Get the organization tax settings GETv1.0.0
- Rename a categoryPATCHv1.0.0
- Retrieve a single discountGETv1.0.0
- Retrieve a single productGETv1.0.0
- Retrieve all categoriesGETv1.0.0
- Retrieve all discountsGETv1.0.0
- Retrieve all library item imagesGETv1.0.0
- Retrieve all products visible in POSGETv1.0.0
- Retrieve all products visible in POS – v2GETv1.0.0
- Retrieve an aggregate of active Options in the libraryGETv1.0.0
- Retrieve the count of existing productsGETv1.0.0
- Retrieve the entire libraryGETv1.0.0
- Update a single discountPUTv1.0.0
- Update a single productPUTv1.0.0
- Update a single tax ratePUTv1.0.0
- Update the organization tax settingsPUTv1.0.0
E-commerce/Product Library
Retrieve a single discount
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
{
"type": "object",
"properties": {
"If-None-Match": {
"type": "string"
},
"discountUuid": {
"type": "string",
"format": "uuid"
},
"organizationUuid": {
"type": "string",
"format": "uuid"
}
},
"required": [
"discountUuid",
"organizationUuid"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
{
"type": "object",
"required": [
"created",
"etag",
"name",
"updated",
"uuid"
],
"properties": {
"amount": {
"type": "object",
"required": [
"amount",
"currencyId"
],
"properties": {
"amount": {
"type": "integer",
"format": "int64"
},
"currencyId": {
"type": "string",
"enum": [
"AED",
"AFA",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZM",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTN",
"BWP",
"BYR",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CSD",
"CUC",
"CUP",
"CVE",
"CYP",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EEK",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHC",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LTL",
"LVL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRO",
"MTL",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZM",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDD",
"SDG",
"SEK",
"SGD",
"SHP",
"SIT",
"SKK",
"SLL",
"SOS",
"SPL",
"SRD",
"SSP",
"STD",
"SVC",
"SYP",
"SZL",
"THB",
"TJS",
"TMM",
"TMT",
"TND",
"TOP",
"TRL",
"TRY",
"TTD",
"TVD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEB",
"VEF",
"VND",
"VUV",
"WST",
"XAF",
"XAG",
"XAU",
"XCD",
"XDR",
"XOF",
"XPD",
"XPF",
"XPT",
"YER",
"ZAR",
"ZMK",
"ZMW",
"ZWD",
"ZWL"
]
}
}
},
"created": {
"type": "string",
"format": "date-time"
},
"description": {
"type": "string"
},
"etag": {
"type": "string"
},
"externalReference": {
"type": "string"
},
"imageLookupKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"name": {
"type": "string"
},
"percentage": {
"type": "number"
},
"updated": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string",
"format": "uuid"
},
"uuid": {
"type": "string",
"format": "uuid"
}
}
}