Delete addresses for shipping for given customer account id under given organization id

post

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

Supports a configurable limit (default: 25 items)

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : deleteCustomerAccountAddresses_request
Type: object
Show Source
  • itemIds
    Minimum Number of Items: 1
    Repository IDs of addresses for shipping that are to be deleted for the given customer account ID under the given organization ID.
Example:
{
    "itemIds":[
        "1035",
        "1034"
    ]
}
Nested Schema : itemIds
Type: array
Minimum Number of Items: 1
Repository IDs of addresses for shipping that are to be deleted for the given customer account ID under the given organization ID.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : deleteCustomerAccountAddress_response
Type: object
Show Source
Nested Schema : invalidItemIds
Type: array
List of invalid/failed address ids of which could not be deleted.
Show Source
Nested Schema : resultingItemIds
Type: array
List of repository ids of currently present addresses for shipping of customer account
Show Source
Example Response (application/json)
{
    "invalidItemIds":[
        "10002"
    ],
    "resultingItemIds":[
        "10001",
        "10002"
    ]
}

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 addresses for 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