Skip to main content
GET
/
commerce
/
catalog
/
storefront
/
discounts
/
autoaddtarget
/
{discountId}
Error
A valid request URL is required to generate request examples
{
  "discountId": 123,
  "friendlyDescription": "<string>",
  "includedProductCodes": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

discountId
integer<int32>
required

Query Parameters

responseFields
string

limits which fields are returned in the response body

Response

Success

discountId
integer<int32>

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

friendlyDescription
string | null

Friendly description of the discount.

includedProductCodes
string[] | null

Included product codes