Skip to main content
Log inSign up
query

Returns a Company object by ID.

•
ID!required

The ID of the Company to return.


Was this section helpful?

•

Represents information about a company which is also a customer of the shop.

contactRoles•
non-null

The list of roles for the company contacts.

contacts•
non-null

The list of contacts in the company.

contactsCount•

The number of contacts that belong to the company.

createdAt•
non-null

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

customerSince•
non-null

The date and time (ISO 8601 format) at which the company became the customer.

defaultCursor•
non-null

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

defaultRole•

The role proposed by default for a contact at the company.

draftOrders•
non-null

The list of the company's draft orders.

events•
non-null

The paginated list of events associated with the host subject.

externalId•

A unique externally-supplied ID for the company.

hasTimelineComment•
non-null

Whether the merchant added a timeline comment to the company.

id•
non-null

A globally-unique ID.

lifetimeDuration•
non-null

The lifetime duration of the company, since it became a customer of the shop. Examples: 2 days, 3 months, 1 year.

locations•
non-null

The list of locations in the company.

locationsCount•

The number of locations that belong to the company.

mainContact•

The main contact for the company.

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.

metafields•
non-null

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

name•
non-null

The name of the company.

note•

A note about the company.

orders•
non-null

The list of the company's orders.

ordersCount•

The total number of orders placed for this company, across all its locations.

totalSpent•
non-null

The total amount spent by this company, across all its locations.

updatedAt•
non-null

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

contactCount•
non-null

The number of contacts that belong to the company.

metafieldDefinitions•
non-null

List of metafield definitions.


Was this section helpful?