Create customer account address request

post

/ccstore/v1/organizations/current/customerAccounts/addressRequest

Request

Supported Media Types
Body ()
Request body for an address request, including customer, billing account ans set id information.
Root Schema : createAddressRequest_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. Either provide valid value or omit this property.
  • Unique identifier for the customer account. Either provide valid value or omit this property.
  • Identifier for a set of addresses associated with the applicable business unit. Either provide valid value or omit this property.
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 submitted
Body ()
Root Schema : createAddressRequest_response
Type: object
Response schema for a successful address creation request.
Show Source
Example Response (application/json)
{
    "requestId":"caar-12345"
}

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