updateMessageTag
put
/ccadmin/v1/messageTags/{id}
List message tags for promotion upsell messages.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): string
The ID of the message tag.
Message tag properties to update.
Root Schema : updateMessageTag_request
Type:
Show Source
object
-
name:
string
The tag's name to use when referring to it in storefront widgets.
Example:
{
"name":"New Tag Name"
}
Response
Supported Media Types
- application/json
200 Response
The following model is returned when the operation succeeds.
Root Schema : updateMessageTag_response
Type:
Show Source
object
-
name:
string
The tag's name to use when referring to it in storefront widgets.
-
repositoryId:
string
Repository ID of the message tag.
Example Response (application/json)
{
"repositoryId":"mt1001",
"name":"New Tag Name"
}
Default Response
The error response.
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code