Buyer billing and shipping address records
Key Takeaway
A buyer's billing and shipping addresses are Contact Point Address records. AddressType sets Billing or Shipping. IsDefault, not IsPrimary, marks the default.
In a B2B store, each saved address on a buyer account is a Contact Point Address record. Each record is typed as Billing or Shipping and can be marked as the default, so checkout can offer the buyer's saved addresses and preselect the default one. Developers can read, create, update and delete these records through the Commerce Address Management APIs. They can also apply them to an active checkout.
One object for both address types
The Contact Point Address object (API name ContactPointAddress) represents a billing or shipping address. The object is available in API version 49.0 and later. Each record holds standard address fields such as Street, City, State, PostalCode and Country.
One object stores both kinds of address. The "Address Type" picklist (AddressType) separates them, not a separate object. Its value, Billing or Shipping, sets which kind of address the record is.