Approve of an address request.

post

/ccstore/v1/organizations/current/customerAccounts/addressRequests/{addressRequestId}/approve

Approval of a customer account address request by account address manager.

Request

Supported Media Types
Path Parameters
Body ()
Request body for an address request, including customer, billing account ans set id information.
Root Schema : approveAddressRequest_payload
Type: object
Request body for an address request, including customer, billing account ans set id information.
Show Source
  • requestAddressObject
    Object representing a complete address, including street, city, state, postal code, and country.
  • Unique identifier for the billing account associated with the customer account. Approver should ensure valid value for the property.
    Example: ba12345
  • Comment provided while approving the address request.
    Example: approved.
  • Unique identifier for the customer account. Approver should ensure valid value for the property.
    Example: ca12345
  • Identifier for a set of addresses associated with the applicable business unit. Defaulted to configured set id. Approver should ensure valid value for the property.
    Example: 204
Nested Schema : requestAddressObject
Type: object
Object representing a complete address, including street, city, state, postal code, and country.
Show Source
Nested Schema : types
Type: array
List of address types associated with the address (e.g., SHIPPING, BILLING). This can be an empty array.
Show Source
Nested Schema : requestAddressType
Type: object
Defines the type of address (e.g., SHIPPING or BILLING).
Show Source
  • ID representing the type of address (e.g., SHIPPING or BILLING).
    Example: SHIPPING
Back to Top

Response

Supported Media Types

200 Response

Address request successfully approved
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : links
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • The URL to interact with the address request resource.
    Example: /ccstore/v1/organizations/current/customerAccounts/addressRequests/caar-12345/approve
  • The relationship type of the link.
    Example: self

202 Response

Address request approved (only acceptance). This happens when Customer Data Master is not enabled. Approval will NOT result in address creation in downstream system or occ.
Body ()
Root Schema : schema
Type: object
Show Source
  • links
  • Message indicating the result of the address approval.
    Example: Address request has been approved. Please proceed with creating the address in the downstream system.
Nested Schema : links
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • The URL to interact with the address request resource.
    Example: /ccstore/v1/organizations/current/customerAccounts/addressRequests/caar-12345/approve
  • 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 |
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