app/helpers/spree/api/api_helpers.rb in spree_api-2.0.6 vs app/helpers/spree/api/api_helpers.rb in spree_api-2.0.7
- old
+ new
@@ -30,11 +30,11 @@
def option_value_attributes
[:id, :name, :presentation, :option_type_name, :option_type_id, :option_type_presentation]
end
def order_attributes
- [:id, :number, :item_total, :total, :state, :adjustment_total, :user_id, :created_at, :updated_at, :completed_at, :payment_total, :shipment_state, :payment_state, :email, :special_instructions, :token]
+ [:id, :number, :item_total, :total, :ship_total, :state, :adjustment_total, :user_id, :created_at, :updated_at, :completed_at, :payment_total, :shipment_state, :payment_state, :email, :special_instructions, :token, :channel]
end
def line_item_attributes
[:id, :quantity, :price, :variant_id]
end
@@ -58,10 +58,10 @@
def taxonomy_attributes
[:id, :name]
end
def taxon_attributes
- [:id, :name, :pretty_name, :permalink, :position, :parent_id, :taxonomy_id]
+ [:id, :name, :pretty_name, :permalink, :parent_id, :taxonomy_id]
end
def inventory_unit_attributes
[:id, :lock_version, :state, :variant_id, :shipment_id, :return_authorization_id]
end