Anchor to urlRedirectImportCreateurl
urlRedirectImportCreate
mutation
Requires access scope.
Anchor to Arguments
Arguments
- •URL!required
The staged upload URL of the CSV file. You can download a sample URL redirect CSV file.
Was this section helpful?
Anchor to UrlRedirectImportCreatePayload returnsUrlRedirectImportCreatePayload returns
- Anchor to urlRedirectImporturl•
Redirect Import The created
object.
- Anchor to userErrorsuser•
Errors [UrlRedirect non-nullImport User Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation urlRedirectImportCreate($url: URL!) {
urlRedirectImportCreate(url: $url) {
urlRedirectImport {
# UrlRedirectImport fields
}
userErrors {
field
message
}
}
}
Input
{
"url": "https://example.myshopify.com"
}
{
"url": "https://example.myshopify.com"
}