Delete customer accounts including their addresses for the provided organization id.

post

/ccadmin/v1/organizations/{id}/customerAccounts/delete

Supports a configurable limit (default: 25 items)

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : deleteCustomerAccount_request
Type: object
Show Source
Example:
{
    "itemIds":[
        "1035",
        "1034"
    ]
}
Nested Schema : itemIds
Type: array
Minimum Number of Items: 1
Repository IDs of customer accounts to be deleted under given organization id.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : deleteCustomerAccounts_response
Type: object
Show Source
Nested Schema : invalidItemIds
Type: array
List of invalid/failed ids for Customer Accounts which could not be deleted.
Show Source
Nested Schema : resultingItemIds
Type: array
List of repository ids of currently present customer accounts.
Show Source
Example Response (application/json)
{
    "customerAccountIds":[
        "ca200002",
        "ca200000",
        "ca200001"
    ]
}

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| |------------------|------------------| |10194|Invalid Input| |100193|Internal error occurred while deleting customer account|
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