Update order by idAsk AIpatch https://flash-api.quadminds.com/api/v2/orders/{id}Update order by idPath ParamsidintegerrequiredBody ParamsOrder properties that will be updatedpoiIdintegerPoi idcodestringlength ≤ 40Order codedatedateOrder datetotalAmountnumberOrder total amount with taxestotalAmountWithoutTaxesnumberOrder total amount without taxesoperationstringenumOrder typePEDIDORETIROAllowed:PEDIDORETIROlabelstringlength ≤ 20Order labeltimeWindowarray of objectsOrder time windows (use User TimeZone)timeWindowADD objectprioritynumberOrder priority from 0 to 9statusIdnumberStatus 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 userpoiId2038subStatus not found or not allowed for this usersubSstatusId2039orderStatus not found or not allowed for this userstatusId2051Merchant id not found or not allowed for this usermerchants2052Exceeded limit of 3 emails per ordermerchants 403Not authorized access 404Not foundUpdated 10 months ago