Okay, got it.. for media it’s all good then.
Yes! It will be super helpful if you add both media create and publish at productSet ![]()
About inventoryBulkToggleActivation I think there might be a bug
I’ve tried this:
mutation inventoryBulkToggleActivation {
inventoryBulkToggleActivation(
inventoryItemId: "gid://shopify/InventoryItem/{{my_variant_inventory_item_id}}",
inventoryItemUpdates: [
{
activate: true,
locationId: "gid://shopify/Location/{{my_location_id}}"
}
]) {
inventoryItem {
id
}
inventoryLevels {
id
quantities(names: ["available"]) {
name
quantity
}
location {
id
}
}
userErrors {
field
message
code
}
}
}
and got this error:
[
{
"field": [
"inventoryItemUpdates",
"0",
"locationId"
],
"message": "The quantity couldn't be updated because the location was not found.",
"code": "LOCATION_NOT_FOUND"
}
]
and I’m sure the location id is correct because I’ve coppied directly from Shopify Admin