After creating a staged upload rquest, then creating and posting the form data to the returned url from the staged upload request, I should be getting back a valid url in the form of: “tmp/21759409/bulk/89e620e1-0252-43b0-8f3b-3b7075ba4a23/bulk_op_vars” or some such thing.
What I’m getting back is something like this: (reading the request.responseText)
https://storage.googleapis.com/shopify-staged-uploads/tmp/gcs/63530000000/bulk/00000000-0a40-4cf7-82a3-728ce3f5a17f/bulk_op_varsshopify-staged-uploadstmp/gcs/63530000000/bulk/00000000-0a40-4cf7-82a3-728ce3f5a17f/bulk_op_vars"89b30910d683b71035d546e570f0bdcd"
What do I do with this so I can submit a mutation:
mutation {
bulkOperationRunMutation(
mutation: "mutation call($input: ProductInput!) { productCreate(input: $input) { product {id title variants(first: 10) {edges {node {id title inventoryQuantity }}}} userErrors { message field } } }",
stagedUploadPath: "tmp/21759409/bulk/89e620e1-0252-43b0-8f3b-3b7075ba4a23/bulk_op_vars") {
bulkOperation {
id
url
status
}
userErrors {
message
field
}
}
}
