updateProfiles

put

/ccadmin/v1/profiles

Update Profiles. This operation is used to update multiple customer profiles on Oracle Commerce Cloud. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : updateProfiles_request
Type: object
Show Source
  • The operation to apply to all profiles. There is currently one supported operation: expirePasswords, expires all shopper passwords.
Example:
{
    "op":"expirePasswords"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateProfiles_response
Type: object
Show Source
  • Returns true if the operation succeeded without throwing an exception.
Example Response (application/json)
{
    "success":true
}

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| |------------------|------------------| |92100|A problem occurred when saving the data.| |23031|Invalid operation| |22024|{0}({1}) must be a String| |22025|Format for loyaltyPrograms is incorrect. Please refer to API doc for more information| |22026|{0} is either missing or incorrect.| |22027|Invalid state is provided.
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