Anchor to marketLocalizationsRemovemarket
marketLocalizationsRemove
mutation
Requires access scope.
Deletes market localizations.
Anchor to Arguments
Arguments
- Anchor to marketIdsmarket•
Ids [ID!]!required The list of market IDs.
- Anchor to marketLocalizationKeysmarket•
Localization Keys [String!]!required The list of market localization keys.
- Anchor to resourceIdresource•
Id ID!required The ID of the resource for which market localizations are being deleted.
Was this section helpful?
Anchor to MarketLocalizationsRemovePayload returnsMarketLocalizationsRemovePayload returns
- Anchor to marketLocalizationsmarket•
Localizations The market localizations that were deleted.
- Anchor to userErrorsuser•
Errors [TranslationUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation marketLocalizationsRemove($marketIds: [ID!]!, $marketLocalizationKeys: [String!]!, $resourceId: ID!) {2 marketLocalizationsRemove(marketIds: $marketIds, marketLocalizationKeys: $marketLocalizationKeys, resourceId: $resourceId) {3 marketLocalizations {4 # MarketLocalization fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "marketIds": [3 "gid://shopify/<objectName>/10079785100"4 ],5 "marketLocalizationKeys": [6 "<your-marketLocalizationKeys>"7 ],8 "resourceId": "gid://shopify/<objectName>/10079785100"9}
{
"marketIds": [
"gid://shopify/<objectName>/10079785100"
],
"marketLocalizationKeys": [
"<your-marketLocalizationKeys>"
],
"resourceId": "gid://shopify/<objectName>/10079785100"
}