Class: SpreeSquare::ProductSerializer
- Inherits:
-
Spree::Api::V3::ProductSerializer
- Object
- Spree::Api::V3::ProductSerializer
- SpreeSquare::ProductSerializer
- Defined in:
- app/serializers/spree_square/product_serializer.rb
Overview
Adds the modifier lists attached to a product (see customization/api.mdx's documented pattern: subclass the core V3 serializer and register via Spree::Api::Dependencies, rather than decorating Spree::Api::V3::ProductSerializer directly).