Create Company Address
Creates an address for a Company account, if address book management is enabled for your storefront. You can designate whether the address is for shipping, billing, or both.
Equivalent Storefront GraphQL API Mutation: `addressCreate`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground).
Authentication
AuthorizationBearer
### Authentication header
| Header | Argument | Description |
|:-------|:---------|:------------|
|`Authorization`|`Bearer {{B2B_JWT_TOKEN}}`| You can obtain this token using the steps described in the [REST Storefront API](/developer/docs/b2b-edition/getting-started/authentication#rest-storefront-api) section[...]
Path parameters
companyId
Request
This endpoint expects an object.
addressLine1
The first line of the address
addressLine2
The second line of the address
city
City of the address.
country
Country of the address as an object with both the name and the two-character code.
extraFields
firstName
The first name of the address.
isBilling
Indicates whether the address can be used as a billing address.
isDefaultBilling
Indicates whether the address is the default billing address for the Company account.
isDefaultShipping
Indicates whether the address is the default shipping address for the Company account.
isShipping
Indicates whether the address can be used as a shipping address.
label
The label used on the storefront to identify the address.
phoneNumber
The phone number associated with the address.
state
State of the address as an object with both the name and the two-character code.
zipCode
Zip or Postal Code of the address.
Response
OK
code
data
message