app/helpers/spree/api/api_helpers.rb in spree_api-2.1.4 vs app/helpers/spree/api/api_helpers.rb in spree_api-2.1.5
- old
+ new
@@ -53,10 +53,10 @@
:id, :product_id, :property_id, :value, :property_name
]
@@variant_attributes = [
:id, :name, :sku, :price, :weight, :height, :width, :depth, :is_master,
- :cost_price, :permalink, :description
+ :cost_price, :permalink, :description, :track_inventory
]
@@image_attributes = [
:id, :position, :attachment_content_type, :attachment_file_name, :type,
:attachment_updated_at, :attachment_width, :attachment_height, :alt