Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

discountId
integer<int32>
required

Unique identifier of the discount. System-supplied and read-only.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json

New Name and/or LocaleCode. Properties of the content to update. Required property: Name.

Container for the language-specific name of the discount. You will have a container for each supported language (LocaleCode). This enables you to display the discount name in multiple languages yet manage it as a single discount internally.

name
string
required

Name of the discount.

Maximum string length: 200
auditInfo
object
customPropertyValues
object
friendlyDescription
string | null

Promotional text or HTML that can be utilized as friendly content like "Buy this product now and get X!"

localeCode
string | null

Lanugage used for the discount in the current catalog. Defaults setting for the active catalog.

Maximum string length: 8

Response

OK

Container for the language-specific name of the discount. You will have a container for each supported language (LocaleCode). This enables you to display the discount name in multiple languages yet manage it as a single discount internally.

name
string
required

Name of the discount.

Maximum string length: 200
auditInfo
object
customPropertyValues
object
friendlyDescription
string | null

Promotional text or HTML that can be utilized as friendly content like "Buy this product now and get X!"

localeCode
string | null

Lanugage used for the discount in the current catalog. Defaults setting for the active catalog.

Maximum string length: 8