/v23.1/DiscountAgreements
  • 05 Jun 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

/v23.1/DiscountAgreements

  • Dark
    Light
  • PDF

Article summary

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

Expand All
object
type
string
message
string
stackTrace
string
validationExceptions
Array of object (ValidationExceptionRow)
object
errorCode
string
errorMessage
string
severity
string
propertyName
string
Expand All
object
type
string
message
string
stackTrace
string
validationExceptions
Array of object (ValidationExceptionRow)
object
errorCode
string
errorMessage
string
severity
string
propertyName
string
Expand All
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?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.