app/helpers/spree/api/api_helpers.rb in spree_api-3.0.10 vs app/helpers/spree/api/api_helpers.rb in spree_api-3.1.0.rc1
- old
+ new
@@ -74,20 +74,21 @@
@@order_attributes = [
: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, :channel,
:included_tax_total, :additional_tax_total, :display_included_tax_total,
- :display_additional_tax_total, :tax_total, :currency
+ :display_additional_tax_total, :tax_total, :currency, :considered_risky,
+ :canceler_id
]
@@line_item_attributes = [:id, :quantity, :price, :variant_id]
@@option_type_attributes = [:id, :name, :presentation, :position]
@@payment_attributes = [
:id, :source_type, :source_id, :amount, :display_amount,
:payment_method_id, :state, :avs_response, :created_at,
- :updated_at
+ :updated_at, :number
]
@@payment_method_attributes = [:id, :name, :description]
@@shipment_attributes = [:id, :tracking, :number, :cost, :shipped_at, :state]