Creates an address for a Company account. Use Bulk Create Addresses to create multiple addresses in a single request.
In addition to the minimum-required fields presented in the request body example, you may need to supply a stateName or a stateCode if the address is in a designated country.
If you have set one or more address extra fields as mandatory, you must include the extraFields object in the request body. If an extra field is configured to accept only unique values, each fieldValue must be distinct for a successful request.
You can create Company addresses without assigning them as billing or shipping addresses. However, Company users cannot use addresses at checkout without a billing or shipping designation.
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.