> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# address

GraphQL QUERY

Details of the company address selected.  
Requires a B2B Token.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/queries/address

## GraphQL Schema

```graphql
query ExampleQuery($companyId: Int!, $addressId: Int!) {
  address(companyId: $companyId, addressId: $addressId) {
    id
    createdAt
    updatedAt
    firstName
    lastName
    isShipping
    isBilling
    addressLine1
    addressLine2
    address
  }
}
```

## Variables

```json
{
  "companyId": 0,
  "addressId": 0
}
```