Anchor to marketDeletemarket
marketDelete
mutation
Requires for queries and both
as well as
for mutations.
Deletes a market definition.
Anchor to MarketDeletePayload returnsMarketDeletePayload returns
- Anchor to deletedIddeleted•
Id The ID of the deleted market.
- Anchor to userErrorsuser•
Errors [MarketUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation marketDelete($id: ID!) {2 marketDelete(id: $id) {3 deletedId4 userErrors {5 field6 message7 }8 }9}
Input
1{2 "id": "gid://shopify/<objectName>/10079785100"3}
{
"id": "gid://shopify/<objectName>/10079785100"
}