app/helpers/spree/api/api_helpers.rb in spree_api-1.3.3 vs app/helpers/spree/api/api_helpers.rb in spree_api-1.3.4
- old
+ new
@@ -19,10 +19,10 @@
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]
+ [:id, :name, :count_on_hand, :sku, :price, :weight, :height, :width, :depth, :is_master, :cost_price, :permalink, :product_id, :lock_version]
end
def image_attributes
[:id, :position, :attachment_content_type, :attachment_file_name, :type, :attachment_updated_at, :attachment_width, :attachment_height, :alt]
end