app/helpers/spree/api/api_helpers.rb in spree_api-1.1.1 vs app/helpers/spree/api/api_helpers.rb in spree_api-1.1.2.rc1
- old
+ new
@@ -14,9 +14,13 @@
def product_attributes
[:id, :name, :description, :price, :available_on, :permalink,
:count_on_hand, :meta_description, :meta_keywords, :taxon_ids]
end
+ def product_property_attributes
+ [:id, :product_id, :property_id, :value, :property_name]
+ end
+
def variant_attributes
[:id, :name, :count_on_hand, :sku, :price, :weight, :height, :width, :depth, :is_master, :cost_price, :permalink]
end
def image_attributes