- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/v23.1/DiscountAgreements
Security
HTTP
Type Bearer
Please enter a valid token
Body parameters
object
itemId
integer (int32)
createdByUserId
integer (int32)
createdDateTime
string (date-time)
lastModifiedByUserId
integer (int32)
lastModifiedDateTime
string (date-time)
organizationId
integer (int32)
companyId
integer (int32)
storeId
integer (int32)
customerGroupId
integer (int32)
rfmSegmentIds
string
description
string
promotionalImage
string (byte)
promotionalImageThumbnail
string (byte)
promotionalText
string
isCustomerBound
boolean
Default"False"
isProductBound
boolean
Default"False"
isLoyaltyCardBound
boolean
Default"False"
defaultPercentage
number (double)
totalDiscountPercentage
number (double)
loyaltyCardTypeId
integer (int32)
loyaltyProviderType
string
Valid values[ "NotSpecified", "eLoyalty", "Spaaza" ]
isLoyaltyCardRequired
boolean
Default"False"
isIgnoreDiscountAgreement
boolean
Default"False"
isWebshopBound
boolean
Default"False"
cashInvoiceBound
string
Valid values[ "NotSpecified", "CashOnly", "InvoiceOnly" ]
object
itemId
integer (int32)
createdByUserId
integer (int32)
createdDateTime
string (date-time)
lastModifiedByUserId
integer (int32)
lastModifiedDateTime
string (date-time)
organizationId
integer (int32)
companyId
integer (int32)
storeId
integer (int32)
customerGroupId
integer (int32)
rfmSegmentIds
string
description
string
promotionalImage
string (byte)
promotionalImageThumbnail
string (byte)
promotionalText
string
isCustomerBound
boolean
Default"False"
isProductBound
boolean
Default"False"
isLoyaltyCardBound
boolean
Default"False"
defaultPercentage
number (double)
totalDiscountPercentage
number (double)
loyaltyCardTypeId
integer (int32)
loyaltyProviderType
string
Valid values[ "NotSpecified", "eLoyalty", "Spaaza" ]
isLoyaltyCardRequired
boolean
Default"False"
isIgnoreDiscountAgreement
boolean
Default"False"
isWebshopBound
boolean
Default"False"
cashInvoiceBound
string
Valid values[ "NotSpecified", "CashOnly", "InvoiceOnly" ]
object
itemId
integer (int32)
createdByUserId
integer (int32)
createdDateTime
string (date-time)
lastModifiedByUserId
integer (int32)
lastModifiedDateTime
string (date-time)
organizationId
integer (int32)
companyId
integer (int32)
storeId
integer (int32)
customerGroupId
integer (int32)
rfmSegmentIds
string
description
string
promotionalImage
string (byte)
promotionalImageThumbnail
string (byte)
promotionalText
string
isCustomerBound
boolean
Default"False"
isProductBound
boolean
Default"False"
isLoyaltyCardBound
boolean
Default"False"
defaultPercentage
number (double)
totalDiscountPercentage
number (double)
loyaltyCardTypeId
integer (int32)
loyaltyProviderType
string
Valid values[ "NotSpecified", "eLoyalty", "Spaaza" ]
isLoyaltyCardRequired
boolean
Default"False"
isIgnoreDiscountAgreement
boolean
Default"False"
isWebshopBound
boolean
Default"False"
cashInvoiceBound
string
Valid values[ "NotSpecified", "CashOnly", "InvoiceOnly" ]
Responses
200
Success
object
itemId
integer (int32)
createdByUserId
integer (int32)
createdDateTime
string (date-time)
lastModifiedByUserId
integer (int32)
lastModifiedDateTime
string (date-time)
organizationId
integer (int32)
companyId
integer (int32)
storeId
integer (int32)
customerGroupId
integer (int32)
rfmSegmentIds
string
description
string
promotionalImage
string (byte)
promotionalImageThumbnail
string (byte)
promotionalText
string
isCustomerBound
boolean
Default"False"
isProductBound
boolean
Default"False"
isLoyaltyCardBound
boolean
Default"False"
defaultPercentage
number (double)
totalDiscountPercentage
number (double)
loyaltyCardTypeId
integer (int32)
loyaltyProviderType
string
Valid values[ "NotSpecified", "eLoyalty", "Spaaza" ]
isLoyaltyCardRequired
boolean
Default"False"
isIgnoreDiscountAgreement
boolean
Default"False"
isWebshopBound
boolean
Default"False"
cashInvoiceBound
string
Valid values[ "NotSpecified", "CashOnly", "InvoiceOnly" ]
object
itemId
integer (int32)
createdByUserId
integer (int32)
createdDateTime
string (date-time)
lastModifiedByUserId
integer (int32)
lastModifiedDateTime
string (date-time)
organizationId
integer (int32)
companyId
integer (int32)
storeId
integer (int32)
customerGroupId
integer (int32)
rfmSegmentIds
string
description
string
promotionalImage
string (byte)
promotionalImageThumbnail
string (byte)
promotionalText
string
isCustomerBound
boolean
Default"False"
isProductBound
boolean
Default"False"
isLoyaltyCardBound
boolean
Default"False"
defaultPercentage
number (double)
totalDiscountPercentage
number (double)
loyaltyCardTypeId
integer (int32)
loyaltyProviderType
string
Valid values[ "NotSpecified", "eLoyalty", "Spaaza" ]
isLoyaltyCardRequired
boolean
Default"False"
isIgnoreDiscountAgreement
boolean
Default"False"
isWebshopBound
boolean
Default"False"
cashInvoiceBound
string
Valid values[ "NotSpecified", "CashOnly", "InvoiceOnly" ]
object
itemId
integer (int32)
createdByUserId
integer (int32)
createdDateTime
string (date-time)
lastModifiedByUserId
integer (int32)
lastModifiedDateTime
string (date-time)
organizationId
integer (int32)
companyId
integer (int32)
storeId
integer (int32)
customerGroupId
integer (int32)
rfmSegmentIds
string
description
string
promotionalImage
string (byte)
promotionalImageThumbnail
string (byte)
promotionalText
string
isCustomerBound
boolean
Default"False"
isProductBound
boolean
Default"False"
isLoyaltyCardBound
boolean
Default"False"
defaultPercentage
number (double)
totalDiscountPercentage
number (double)
loyaltyCardTypeId
integer (int32)
loyaltyProviderType
string
Valid values[ "NotSpecified", "eLoyalty", "Spaaza" ]
isLoyaltyCardRequired
boolean
Default"False"
isIgnoreDiscountAgreement
boolean
Default"False"
isWebshopBound
boolean
Default"False"
cashInvoiceBound
string
Valid values[ "NotSpecified", "CashOnly", "InvoiceOnly" ]
400
Bad Request
object
type
string
message
string
stackTrace
string
validationExceptions
Array of object (ValidationExceptionRow)
object
errorCode
string
errorMessage
string
severity
string
propertyName
string
object
type
string
message
string
stackTrace
string
validationExceptions
Array of object (ValidationExceptionRow)
object
errorCode
string
errorMessage
string
severity
string
propertyName
string
object
type
string
message
string
stackTrace
string
validationExceptions
Array of object (ValidationExceptionRow)
object
errorCode
string
errorMessage
string
severity
string
propertyName
string
401
Unauthorized
object
type
string
message
string
stackTrace
string
object
type
string
message
string
stackTrace
string
object
type
string
message
string
stackTrace
string
403
Forbidden
object
type
string
message
string
stackTrace
string
object
type
string
message
string
stackTrace
string
object
type
string
message
string
stackTrace
string
Was this article helpful?