Edits details of an existing Company address.
There are no required fields for this endpoint, but you must include isBilling or isShipping to change the value of isDefaultBilling or isDefaultShipping respectively.
When changing the countryName, you must also update the countryCode. Updating the countryCode by itself will automatically adjust the countryName. If you are changing the countryCode to a country that supports states, you must also include the stateCode with a valid two-letter code value for the state.
The full name of the state or province on the address. This must correspond to stateCode in the request if the state or province is required for the country.
The full name of the country on the address. Use Get a Country to retrieve valid country names.
The two-letter ISO code for the state or province on the address. Omit this field when adding state or province information for an unsupported country.
The two-letter ISO code for the country on the address. Use Get a Country to retrieve valid country codes.
An external ID assigned to the address in a third-party system, such as an ERP.
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.