updateShopperInput

put

/ccadmin/v1/shopperInputs/{id}

Update Shopper Input for the specified ID. **Requires the x-ccasset-language header so translated content can be set for a specific language.**

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : updateShopperInput_request
Type: object
Show Source
Example:
{
    "name":"Gift Message",
    "label":"Gift Message",
    "promptText":"Enter the gift message:",
    "required":false
}
Nested Schema : localizedValues
Type: object
Additional Properties Allowed
Show Source
Localized enumerated values map (base -> localized), returned when type=enumerated and there is localization.
Nested Schema : values
Type: array
Values when the type=enumerated. Can also be set as a map of base -> localized values, for localization.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : ShopperInput_response
Type: object
Show Source
Nested Schema : values
Type: array
Values when the type=enumerated. Can also be set as a map of base -> localized values, for localization. For other data types array will be empty.
Show Source
Example Response (application/json)
{
    "uiEditorType":null,
    "repositoryId":"giftMessage",
    "name":"Gift Message",
    "label":"Gift Message",
    "type":"shortText",
    "promptText":"Enter the gift message",
    "required":false
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |26400|Invalid data error. The exact error message will vary based on the property.| |26402|Cannot find shopper input Id.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top