SFCC Address Format Requirements


Salesforce Commerce Cloud requires address data to be formatted in a certain way when it is being added to the basket. When it is improperly formatted, OCAPI will return error messages that will prevent Subscribe Pro from successfully placing a recurring order.

SFCC Address Example

FieldAPI FieldDescriptionRequiredNotesExample
First Namefirst_nameThe first name for the addressYesJohn
Middle Namemiddle_nameThe middle name for the addressNoEdward
Last Namelast_nameThe last name for the addressYesDoe
CompanycompanyThe address company nameNoAcme Inc
Street 1street_1The street address, line 1Yes20 W. 34th St.
Street 2street_2The street address, line 2NoSte 300
CitycityThe address cityYesNew York
Region/StateregionThe address region/state abbreviationYes2-character abbreviationNY
CountrycountryThe address country abbreviationYes2-character abbreviationUS
PostcodepostcodeThe address postcodeYes5-digit zip code10001
Phone NumberphoneThe address phone numberYesNo specific format required212-736-3100