--- title: JobResult - GraphQL Admin description: A job corresponds to some long running task that the client should poll for status. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/jobresult md: https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/jobresult.md --- # Job​Result interface A job corresponds to some long running task that the client should poll for status. ## Fields * done [Boolean!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Boolean) non-null This indicates if the job is still queued or has been run. * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) non-null A globally-unique ID that's returned when running an asynchronous mutation. *** ## Types implemented in * [Customer​Segment​Members​Query](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CustomerSegmentMembersQuery) OBJECT A job to determine a list of members, such as customers, that are associated with an individual segment. * current​Count [Int!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int) non-null The current total number of members in a given segment. * done [Boolean!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Boolean) non-null This indicates if the job is still queued or has been run. * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) non-null A globally-unique ID that's returned when running an asynchronous mutation. * [Order​Cancel​Job​Result](https://shopify.dev/docs/api/admin-graphql/unstable/objects/OrderCancelJobResult) OBJECT A job to determine the result of an order cancellation request. * done [Boolean!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Boolean) non-null This indicates if the job is still queued or has been run. * errors [\[Order​Cancel​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/OrderCancelUserError) non-null Returns any error that occurred during order cancellation. * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) non-null A globally-unique ID that's returned when running an asynchronous mutation. * order [Order](https://shopify.dev/docs/api/admin-graphql/unstable/objects/Order) The order associated with the cancellation request. * status [Order​Cancel​Status!](https://shopify.dev/docs/api/admin-graphql/unstable/enums/OrderCancelStatus) non-null The current status of the order cancellation request. *** ##### Variables ```json { "done": "", "id": "" } ``` ##### Schema ```graphql interface JobResult { done: Boolean! id: ID! } ```