Steps to reproduce the issue through GraphQL:
-
Create a product in all warehouses
mutation(
$sku: String!,
$title: String!,
$warehouse_products: [CreateWarehouseProductInput]!
) {
product_create(
data: {
sku: $sku
name: $title
warehouse_products: $warehouse_products
}
)
{ product { id sku name } }
}
Variables: { "sku": "Table-123", "title": "Magnificent Table", "warehouse_products": [...] }
-
Assign product to a Vendor
mutation($vendor_id: String!, $sku: String!) {
vendor_add_product(
data: {
vendor_id: $vendor_id,
sku: $sku
}
) { request_id }
} -
Rename the product
mutation($sku: String!, $title: String) {
product_update(
data: {
sku: $sku
name: $title
}
) { product { id sku name } }
}
Variables: { "sku": "Table-123", "title": "New title" }
Expected vs Actual behaviour
Works: The item gets renamed in Product list https://app.shiphero.com/dashboard/products
Does not work: The item does not get renamed in Vendor list https://app.shiphero.com/dashboard/vendors/details/172341
We are able to rename products from the UI.