Enhanced product variants and custom attributes in API v2
The v2 products endpoint now supports reading and writing delivery_config_id, and single-product responses include inventory tracking and cart quantity multiple fields. Custom attributes can now be managed using a key parameter, with validation returning a 422 response if neither a name nor a key is provided. Additionally, requests authenticated with staff or admin tokens now return hidden variants, and you can update variant visibility via variants[].status, protected by validation that prevents hiding the final visible variant.