Update order by idAsk AIpatch https://saas.quadminds.com/api/v2/orders/{id}Update order by idPath ParamsidintegerrequiredBody ParamsOrder properties that will be updatedpoiIdintegerPoi idcodestringlength ≤ 40Order codedatedateOrder date with the format YYYY-MM-DDoperationstringenumOrder typePEDIDORETIROCOBRANZAAllowed:PEDIDORETIROCOBRANZAqtnstringQuadminds tracking number (Track & Trace)totalAmountnumberOrder total amount with taxestotalAmountWithoutTaxesnumberOrder total amount without taxeslabelstringlength ≤ 20Order labeltimeWindowarray of objectsOrder time windows (use User TimeZone)timeWindowADD objectprioritynumberOrder priority from 0 to 9assignedDeviceIdintegerOrder assigned device id. Is used to group orders by device in the optimizer applicationstatusIdnumberStatus for the ordermerchantsarray of objectsMerchants to attach to the ordermerchantsADD objectResponses 200Updated order 400On Error, response will contain an error and message with these posible values Error codes: CodeDescriptionField1001Wrong time window objecttimeWindow2002Wrong time window values, must be stringtimeWindow2003Wrong time window, 'from' must be less than 'to'timeWindow2004Wrong time window, times are overlappedtimeWindow2020Order code already present for this usercode2021Order code not found or not allowed for this usercode2026Invalid operation typeoperation2032Poi id not found or not allowed for this userpoiId2037totalAmount must be greater than zero and not emptytotalAmount2038orderItems and orderMeasures are not allowed for collection ordersorderItems, orderMeasures2039orderStatus not found or not allowed for this userstatusId2051Merchant id not found or not allowed for this usermerchants2052Exceeded limit of 3 emails per ordermerchants2054subStatus not found or not allowed for this usersubSstatusId 403Not authorized access 404Not foundUpdated 11 months ago