Order Payment Type, and Reference # API call not working

Hello @mablower

In this case I have tested this,

Please try it out this way:

{
“order”: {
channel_id : 162558,
customer_id : 173149124,
deliver_to_id : 637280397,
delivery_method_id : 461226,
number : “SO-02562”,
line_items_attributes : [
{
sellable_id : 141961403,
price_per_unit : 0.39,
quantity : 1.00,
tax_rate : 0.08875
},
{
sellable_id : 113360914,
price_per_unit : 5.95,
quantity : 1.00,
tax_rate : 0.08875,
taxless_discount_per_unit : 0.1
}
],
total_discounts : 0.1,
payment_attributes : {
payment_type : “credit_card”,
reference_number : “3522504000010384387”
}
}
}

It looks like its missing “order”, from my end the issue was resolved when I tried with this.

Please let me know if this worked for you.

Regards.