My Oracle Support Banner

Enhancement Request: Address.js Should Match Fields on creatOrder.shippingAddress (Doc ID 2269946.1)

Last updated on MAY 24, 2017

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.


The createOrders API includes an email attribute on the shippingAddress


"shippingAddress": {
"lastName": "Test",
"country": "US",
"address3": "",
"address2": "Line 2",
"city": "Montgomery",
"address1": "Line 1",
"prefix": "",
"companyName": "",
"postalCode": "36123",
"jobTitle": "",
"county": "",
"suffix": "",
"firstName": "Steve",
"phoneNumber": "45454545",
"alias": "Address",
"faxNumber": "",
"middleName": "",
"state": "AL",
"email": ""


However, the Address.js) does not include an email field (see below). Requesting that all Address objects (including Address.js) have like fields, including email.


// Address Fields
// All have to be initialised to empty string
// in order to be picked up in the JSON
self.alias = ko.observable('');
self.prefix = ko.observable('');
self.firstName = ko.observable('');
self.middleName = ko.observable('');
self.lastName = ko.observable('');
self.suffix = ko.observable(''); = ko.observable('');
self.postalCode = ko.observable('');
self.address1 = ko.observable('');
self.address2 = ko.observable('');
self.address3 = ko.observable(''); = ko.observable('');
self.state = ko.observable('');
self.county = ko.observable('');

self.phoneNumber = ko.observable(''); = ko.observable();

self.jobTitle = ko.observable('');
self.companyName = ko.observable('');
self.faxNumber = ko.observable('');
self.repositoryId = '';

// Postal Code Patterns
self.postalCodePattern = ko.observable('');

// Helpers
self.stateList = ko.observableArray();
self.selectedCountry = ko.observable();
self.selectedState = ko.observable();
self.state_ISOCode = ko.observable();



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.