Skip to main content
object

Requires read_customers access scope or read_companies access scope. Also: The API client must be installed on a Shopify Plus store.

A location or branch of a company that's a customer of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location.

Anchor to Fields and connectionsFields and connections

•CompanyAddress

The address used as billing address for the location.

Anchor to buyerExperienceConfigurationbuyerExperienceConfiguration
•BuyerExperienceConfiguration

The configuration for the buyer's B2B checkout.

•CatalogConnection!non-null

The list of catalogs associated with the company location.

•Count

The number of catalogs associated with the company location. Limited to a maximum of 10000.

•Company!non-null

The company that the company location belongs to.

•DateTime!non-null

The date and time (ISO 8601 format) at which the company location was created in Shopify.

•CurrencyCode!non-null

The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market.

•String!non-null

A default cursor that returns the single next record, sorted ascending by ID.

•DraftOrderConnection!non-null

The list of draft orders for the company location.

•EventConnection!non-null

The paginated list of events associated with the host subject.

•String

A unique externally-supplied ID for the company location.

•Boolean!non-null

Whether the merchant added a timeline comment to the company location.

•ID!non-null

A globally-unique ID.

•Boolean!non-null

Whether the company location is assigned a specific catalog.

•String

The preferred locale of the company location.

•Market!non-null

The market that includes the location's shipping address. If the shipping address is empty, then the value is the shop's primary market.

•Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

•MetafieldConnection!non-null

A list of custom fields that a merchant associates with a Shopify resource.

•String!non-null

The name of the company location.

•String

A note about the company location.

•OrderConnection!non-null

The list of orders for the company location.

•Count

The total number of orders placed for the location.

•String

The phone number of the company location.

•CompanyContactRoleAssignmentConnection!non-null

The list of roles assigned to the company location.

•CompanyAddress

The address used as shipping address for the location.

Anchor to staffMemberAssignmentsstaffMemberAssignments
•CompanyLocationStaffMemberAssignmentConnection!non-null

The list of staff members assigned to the company location.

•CompanyLocationTaxSettings!non-null

The tax settings for the company location.

•MoneyV2!non-null

The total amount spent by the location.

•DateTime!non-null

The date and time (ISO 8601 format) at which the company location was last modified.

Deprecated fields and connections

Anchor to metafieldDefinitionsmetafieldDefinitions
•MetafieldDefinitionConnection!non-nullDeprecated
•Int!non-nullDeprecated
•[TaxExemption!]!non-nullDeprecated
•StringDeprecated

Was this section helpful?

•query

Returns a CompanyLocation object by ID.

•query

Returns the list of company locations in the shop.


Was this section helpful?

•mutation

Creates a company location.

Arguments

•ID!required

The ID of the company that the company location belongs to.

•CompanyLocationInput!required

The fields to use to create the company location.


Fields

•CompanyLocation

The created company location.

•[BusinessCustomerUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Sets the tax settings for a company location.

Arguments

•ID!required

The ID of the company location that the tax settings get assigned to.

•[TaxExemption!]

The list of tax exemptions to assign to the company location.

•[TaxExemption!]

The list of tax exemptions to remove from the company location.

•Boolean

Whether the location is exempt from taxes.

•String

The unique tax registration ID for the company location.


Fields

•CompanyLocation

The company location with the updated tax settings.

•[BusinessCustomerUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates a company location.

Arguments

•ID!required

The ID of the company location to update.

•CompanyLocationUpdateInput!required

The input fields to update in the company location.


Fields

•CompanyLocation

The updated company location.

•[BusinessCustomerUserError!]!non-null

The list of errors that occurred from executing the mutation.

Deprecated mutations


Was this section helpful?

OSZAR »