---
title: "CompanyAddress"
description: "Company address information"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-address'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-address.md'
---
# CompanyAddress

Company address information

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`CompanyAddress`

## Fields

* `address1`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  address1

* `address2`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  address2

* `city`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  City name

* `companyName`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Company name

* `country`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Country Name

* `countryCode`

  [CountryCode](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/enums/country-code.md)

  Country code

* `createdAt`

  [Date](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/date.md)

  Creation time

* `id`

  [ID](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  Address ID

* `phone`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Phone ( eg : 008615098796543 )

* `province`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Province name

* `updatedAt`

  [Date](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/date.md)

  Update time

* `zip`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Postal code

## Schema Definition

```graphql
type CompanyAddress { 
	address1: String
	address2: String
	city: String
	companyName: String
	country: String
	countryCode: CountryCode
	createdAt: Date
	id: ID
	phone: String
	province: String
	updatedAt: Date
	zip: String 
}
```

## Field from

* [CompanyLocationAssignAddressPayload](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-location-assign-address-payload.md).addresses

  Address information

* [CompanyLocation](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-location.md).billingAddress

  Billing address

* [CompanyLocation](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-location.md).shippingAddress

  Shipping address

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

