Related Documents
Document Properties
Kbid2489X4
Last Modified14-Sep-2018
Added to KB12-Jul-2013
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.6
  • ICM 7.7
  • ICM 7.8
  • ICM 7.9
  • ICM 7.10

REST API - Update security question


Note

Starting with 7.10 our REST API is documented using Swagger notation accessible at developer.cloud.intershop.com.

URI

/customers/-/credentials/question

Http Method

PUT

Short Description

Updates security question

Query Parameters

none

Example Requests

/customers/-/credentials/question

HTTP Status Codes

204 No Content
400 Bad Request
401 Unauthorized 

Description

Updates the security question of the currently logged in customer. The key of the security question should be submitted.

A client could get the list of possible keys from /securiry/questions resource.

Cartridge

app_sf_rest

Application

B2C Web Shop

Product Version

7.4

Product To Version

 

Status

final

JSON

Request Data Format

application/json

Request related java object

com.intershop.sellside.rest.common.capi.resource.customer.credentials.CustomerSecurityQuestionItemResource
com.intershop.sellside.rest.common.capi.resourceobject.SecurityQuestionRO

Request Example

{
    "key": "account.security_question.pet_name.text",
    "text": "Rex"
}

Response Data Format

Response related java object

n/a

Response Example

n/a

XML

XML Request Data Format

text/xml

XML Request Java Objects

com.intershop.sellside.rest.common.capi.resource.customer.credentials.CustomerSecurityQuestionItemResource
com.intershop.sellside.rest.common.capi.resourceobject.SecurityQuestionRO

XML Request Example

<SecurityQuestion>
    <key>account.security_question.elementary_school.text</key>
    <text>Goethe Gymnasium</text>
</SecurityQuestion>

XML Response Data Format

XML Response Java Objects

n/a

XML Response Example

n/a

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets