The ability to update the productVariant title inside the update operation, apart from just updating the title and price. #446
mareenanazir
started this conversation in
Feedback: Cart Transform API
Replies: 3 comments 2 replies
|
Hi @mareenanazir , currently our UpdateOperation API supports updating the cart line title. Here's an example of the expected schema for the operation: {
"operations": [
{
"update": {
"cartLineId": "gid://shopify/CartLine/1",
"title": "Customized Line Item",
"image": {
"url": "https://cdn.shopify.com/[...]/custom-image.png"
},
"price": {
"adjustment": {
"fixedPricePerUnit": {
"amount": "100"
}
}
}
}
}
]
}To update the title, you'll need to nest it under the update key rather than within merchandise. However, this operation only updates the cart lines, not the merchandise values. You could use this to show the cart with the product title and then the cart line title below. Would that solve your needs or do you need a specific subtitle? Thanks for this question and feedback! 😄 |
2 replies
|
@aaackerman We have a similar need, added as feedback here: #415 |
0 replies
|
I also need this! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hi, I'm trying to update the product variant title, one which is shown below the actual product title.
This is my graphql query,
and thats how I'm trying to update the price and variant title, but its not working.
Can you please help if this is even possible?
All reactions