Anchor to marketRegionsDeletemarket
marketRegionsDelete
mutationDeprecated
Requires for queries and both
as well as
for mutations.
Deletes a list of market regions. Use instead.
Anchor to Arguments
Arguments
- •[ID!]!required
A list of IDs of the market regions to delete.
Was this section helpful?
Anchor to MarketRegionsDeletePayload returnsMarketRegionsDeletePayload returns
- Anchor to deletedIdsdeleted•
Ids The ID of the deleted market region.
- Anchor to userErrorsuser•
Errors [MarketUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation marketRegionsDelete($ids: [ID!]!) {2 marketRegionsDelete(ids: $ids) {3 deletedIds4 userErrors {5 field6 message7 }8 }9}
Input
1{2 "ids": [3 "gid://shopify/<objectName>/10079785100"4 ]5}
{
"ids": [
"gid://shopify/<objectName>/10079785100"
]
}