Hi, I’m trying to create custom cart_attribute, but I’m not able to find that cart_attribute that I POST with graphQL in shopify backend. Am i missing anything?
Here’s what I did
And also I wired that into cart action
if (!cartId) {
result = await cartCreate({
input: countryCode
? {lines, buyerIdentity: {countryCode}, attributes}
: {lines, attributes},
storefront,
});
} else {
result = await cartAdd({
cartId,
lines,
storefront,
});
}
I’m sure the custom property is wired in this cart, so the question is how do i checkout this custom data?