Anchor to section titled 'undefined'

customerMergeJobStatus
query

Requires read_customer_merge access scope.

Returns the status of a customer merge request job.


Anchor to jobId
jobId
required

The ID of the job performing the customer merge request.


Was this section helpful?

Anchor to CustomerMergeRequest
CustomerMergeRequest
Access requirements

A merge request for merging two customers.


Was this section helpful?
Get the merge status of a customer merge request
Hide code
DescriptionCopy
query {
  customerMergeJobStatus(jobId: "gid://shopify/Job/ab22429a-ea18-4dad-ac2c-5823288b1e59") {
    jobId
    status
    resultingCustomerId
    customerMergeErrors {
      errorFields
      message
    }
  }
}
Hide code
Response
JSON
{
  "customerMergeJobStatus": {
    "jobId": "gid://shopify/Job/ab22429a-ea18-4dad-ac2c-5823288b1e59",
    "status": "IN_PROGRESS",
    "resultingCustomerId": "gid://shopify/Customer/544365967",
    "customerMergeErrors": []
  }
}