I'm trying to work out how to submit an order for multiple products but to sell those products at a certain price. I'm able to create the order for the single product using the submission below, but the order keeps coming up at $229.95 + Shipping when I want the product to be added at $179.95 with 0 shipping. I've tried using the discount fields etc. on both the product level and the order level and not having any luck.
{"company_id": "1",
"issuer_id":"817",
"total":"179.95",
"subtotal":"179.95",
"discount":"0.00",
"subtotal_discount":"0.00",
"payment_surcharge":"0.00",
"shipping_ids":"6",
"shipping_cost":"0.00",
"status":"E",
"notes":"These are some customer facing notes.",
"user_data":{"user_id":"0",
"firstname":"Billing First",
"lastname":"Billing Last",
"company":"",
"b_firstname":"Billing First",
"b_lastname":"Billing Last",
"b_address":"Billing Address Line 1",
"b_address_2":"Billing Address Line 2",
"b_city":"Billing City",
"b_county":"",
"b_state":"NSW",
"b_country":"AU",
"b_zipcode":"2024",
"b_phone":"0413608353",
"s_firstname":"Billing First",
"s_lastname":"Billing Last",
"s_address":"Billing Address Line 1",
"s_address_2":"Billing Address Line 2",
"s_city":"Billing City",
"s_county":"",
"s_state":"NSW",
"s_country":"AU",
"s_zipcode":"2024",
"s_phone":"0123456789",
"s_address_type":"",
"phone":"0123456789",
"email":"test@testuser.com"},
"payment_id":"12",
"products":{"4163016541": { "product_id":"4839",
"price":"74.95",
"discount":"155.00",
"base_price":229.95,
"original_price":229.95,
"subtotal":74.95,
"display_subtotal":74.95,
"amount":"1"}}
}