Reject an address request
post
/ccstore/v1/organizations/current/customerAccounts/addressRequests/{addressRequestId}/reject
Rejection of a customer account address request by account address manager.
Request
Supported Media Types
- application/json
Path Parameters
-
addressRequestId(required): string
The ID of the address request to reject.
The comment explaining why the address request is rejected.
Root Schema : schema
Type:
Show Source
object-
comment:
string
The comment explaining why the address request is rejected.Example:
Your request is rejected.
Response
Supported Media Types
- application/json
200 Response
Address request has been rejected successfully.
Root Schema : schema
Type:
Show Source
object-
links:
array links
-
result:
string
Example:
Address request has been rejected.
Nested Schema : items
Type:
Show Source
object-
href:
string
The URL to interact with the address request resource.Example:
/ccstore/v1/organizations/current/customerAccounts/addressRequests/caar-12345/reject -
rel:
string
The relationship type of the link.Example:
self
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 |
|------------|-------------|
| 270001 | Error related to address request |
Root Schema : errorModel
Type:
Show Source
object-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
arrayAn optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code