Requires write_customers access scope.
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Company contact batch delete
Arguments
companyContactIds ● [ID!]non-null
Contact id number list (max 100 )
Return
deletedCompanyContactIds ● [ID]
Delete id collection
userErrors ● [BusinessCustomerUserError!]!non-null
Error message
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Example
Batch delete company contacts
{
"companyContactIds": [
"gid://shopline/CompanyContact/4217281771",
"gid://shopline/CompanyContact/4600093512"
]
}
Response
{
"data": {
"companyContactsDelete": {
"userErrors": [],
"deletedCompanyContactIds": [
"gid://shopline/CompanyContact/4217281771",
"gid://shopline/CompanyContact/4600093512"
]
}
}
}
Was this article helpful to you?