Order Update
PUT https://api.ecartapi.com/api/v2/orders/{{id}}
Update an order's information.
Important information:
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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |