Skip to content

Json response?  #150

@glynhudson

Description

@glynhudson

Is it possible to obtain a json responce?

e.g @shop_orders << Bigcommerce::Order.find(@order.id) reurns a space sperated string.

#<Bigcommerce::Order base_handling_cost="0.0000" base_shipping_cost="12.3800" base_wrapping_cost="0.0000" billing_address={:first_name=>"Jari", :last_name=>"xxxx", :company=>"", :street_1=>"Niinikuja 4", :street_2=>"", :city=>"Tampere", :state=>"", :zip=>"33900", :country=>"xxxxx", :country_iso2=>"FI", :phone=>"xxxxxxxxxxx", :email=>"xxxxxxxx", :form_fields=>[]} coupon_discount="0.0000" coupons={:url=>"https://xxxxxxxxxx/api/v2/orders/xxxx/coupons.json",
:resource=>"/orders/18xxx434/coupons"} credit_card_type=nil currency_code="GBP" currency_exchange_rate="1.0000000000" currency_id=1 customer_id=10100........

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions