companyContactsDelete
mutation
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
Contact id number list (max 100 )
Return
Delete id collection
Error message
Status and error codes
For detailed information about common codes, see Status and error codes.
Example
Batch delete company contacts
Code
{
"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?