Skip to main content
query

The Location corresponding to the provided ID. Apps using the Customer Account API must meet the protected customer data requirements.

•ID!
required

The ID of the Location.


Was this section helpful?

•CompanyLocation

Represents a company's business location.

Show fields
•CompanyAddress

The billing address of the company location.

Show fields
Anchor to buyerExperienceConfigurationbuyerExperienceConfiguration
•BuyerExperienceConfiguration

The configuration of the buyer's B2B checkout.

Show fields
•CompanyContactConnection!
non-null

The list of contacts under a particular business location.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Show filters
Anchor to default
•string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to company_id
•id
Anchor to company_location_id
•id
Anchor to created_at
•time
•string
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to location_name
•string
•string
Anchor to role_name
•string
•string
Anchor to updated_at
•time
•Boolean
Default:false

Reverse the order of the underlying list.

•CompanyContactSortKeys
Default:ID

Sort the underlying list by the given key.

Show enum values

•DraftOrderConnection!
non-null

The list of company draft orders.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Show filters
Anchor to default
•string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to company_contact_id
•id
Anchor to created_at
•time
Anchor to customer_id
•id
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
•string
Anchor to purchasing_entity
•string
•string
•string
•string
Anchor to updated_at
•time
•Boolean
Default:false

Reverse the order of the underlying list.

•DraftOrderByLocationSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

Show enum values

•String

A unique externally-supplied ID for the location.

•ID!
non-null

A globally-unique ID.

•CurrencyCode!
non-null

The currency for the company location's market, derived from the location's shipping address. When the location has no shipping address, or no market currency matches the address, this falls back to the shop's currency. Use it to choose which store credit balance to present as the primary one.

Show enum values
•Metafield

A metafield found by namespace and key.

Show fields

Arguments

•String!
required

The identifier for the metafield.

•String!
required

A container for a set of metafields.


•[Metafield]!
non-null

The metafields associated with the resource matching the supplied list of namespaces and keys.

Show fields

Arguments

•[HasMetafieldsIdentifier!]!
required

The list of metafields to retrieve by namespace and key.

Show input fields

•String!
non-null

The name of the company location.

•OrderConnection!
non-null

The list of customer orders under the company.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Show filters
Anchor to default
•string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to confirmation_number
•string
Anchor to created_at
•time
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
•string
Anchor to order_number
•string
Anchor to processed_at
•time
Anchor to purchasing_company_contact_id
•id
Anchor to purchasing_company_id
•id
Anchor to purchasing_company_location_id
•id
Anchor to purchasing_entity
•string
Anchor to shipment_status
•string
Anchor to updated_at
•time
•Boolean
Default:false

Reverse the order of the underlying list.

•OrderByLocationSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

Show enum values

•CompanyContactRoleAssignmentConnection!
non-null

The list of roles assigned to this location.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Show filters
Anchor to default
•string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to company_contact_id
•id
Anchor to company_contact_role_id
•id
Anchor to company_id
•id
Anchor to company_location_id
•id
Anchor to created_at
•time
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to location_name
•string
Anchor to role_name
•string
Anchor to updated_at
•time
•Boolean
Default:false

Reverse the order of the underlying list.

•CompanyContactRoleAssignmentSortKeys
Default:ID

Sort the underlying list by the given key.

Show enum values

•CompanyAddress

The shipping address of the company location.

Show fields
•StoreCreditAccountConnection!
non-null

A list of the owner resource's store credit accounts. Store credit accounts are not shown for shops with store credit disabled at checkout.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Show filters
Anchor to currency_code
•string
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234

•String

The tax id of the company location.

•Market!
non-nullDeprecated
Show fields

Was this section helpful?