my_newcustom_attribute
that you've added to the spree_products
database table.app/serializers
directory, that is app/serializers/my_product_serializer.rb
:config/initializers/spree.rb
please set:Video
that belongs to Product
(Product has multiple Videos).app/serializers/video_serializer.rb
:app/serializers/my_product_serializer.rb
videos
?includes=videos
in the API URL, eg.