app/helpers/spree/api/api_helpers.rb in spree_api-1.3.0.rc1 vs app/helpers/spree/api/api_helpers.rb in spree_api-1.3.0.rc2
- old
+ new
@@ -62,9 +62,14 @@
def taxon_attributes
[:id, :name, :permalink, :position, :parent_id, :taxonomy_id]
end
+ def inventory_unit_attributes
+ [:id, :lock_version, :state, :variant_id, :order_id,
+ :shipment_id, :return_authorization_id]
+ end
+
def return_authorization_attributes
[:id, :number, :state, :amount, :order_id, :reason, :created_at, :updated_at]
end
def country_attributes