Anchor to marketRegionDeletemarket
marketRegionDelete
mutationDeprecated
Requires for queries and both
as well as
for mutations.
Deletes a market region. Use instead.
Anchor to Arguments
Arguments
- •ID!required
The ID of the market region to delete.
Was this section helpful?
Anchor to MarketRegionDeletePayload returnsMarketRegionDeletePayload returns
- Anchor to deletedIddeleted•
Id The ID of the deleted market region.
- Anchor to marketmarket•
The parent market object of the deleted region.
- Anchor to userErrorsuser•
Errors [MarketUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation marketRegionDelete($id: ID!) {
marketRegionDelete(id: $id) {
deletedId
market {
# Market fields
}
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}