An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Delete company location
Arguments
companyLocationId ● ID!non-null
Location id
Return
deletedCompanyLocationId ● ID
Location Id
userErrors ● [BusinessCustomerUserError!]!non-null
Error message
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Example
Location Delete
mutation companyLocationDelete($companyLocationId: ID!) {
companyLocationDelete(companyLocationId: $companyLocationId) {
deletedCompanyLocationId
userErrors {
code
field
message
}
}
}
Response
{
"data": {
"companyLocationDelete": {
"deletedCompanyLocationId": "gid://shopline/CompanyLocation/6464925548393537583",
"userErrors": []
}
}
}
Was this article helpful to you?