Orders

POST https://api.ecartapi.com/api/v2/orders

Request Body

{"order"=>{"storeId"=>"STORE-ID", "currency"=>"MXN", "shippingMethod"=>"Shipping method", "totals"=>{"total"=>"100", "tax"=>"10", "discount"=>"5"}, "customer"=>{"id"=>"CUSTOMER-ID"}, "billingAddress"=>{"id"=>"BILLING-ID"}, "shippingAddress"=>{"id"=>"SHIPPING-ID"}, "payment"=>{"method"=>"payment method"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring