Can we have this for editing ProductVariant objects too?
Edit: My bad, it seems to be supported, I just didn’t read the more comprehensive documentation. However, I can’t seem to get it to work. It looks like you need to pass the ID for the product along with? But according to the documentation it shouldn’t be necessary:
Update: After some trial and error I got it to work. The other issue is the productId field must only be the numeric ID (when editing variants at least), which also contradicts the documentation.
Also, it doesn’t work if the variant is the only variant (default variant) on the product. It gives a server error. It should just redirect to the product in that case.
The issue still persists with the same 500 error page. If I understand correctly, there is no need to update the package version, since it’s already served via the CDN right?
Any additions will be noted in the developer changelog. I don’t have a timeline on that at this point, but will pass on this as feedback and a feature suggestion to our team.
Is there any way to pass in parameters/defaults through admin intents. For example, we’re using admin intents for creating metafield definitions, however the app is expecting a certain type. Being able to pre-populate the definition with the correct type would be a huge win for merchant convenience and minimizing error and confusion.
@KyleG-Shopify would be great if you could pass this on as well since I don’t think it’s possible currnetly