companyLocationDelete
mutation
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
Location id
Return
Location Id
Error message
Status and error codes
For detailed information about common codes, see Status and error codes.
Example
Location Delete
Code
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?