Orders

Update order by id

Update order by id

patch/orders/{id}

Request

  • Base URL
    https://flash-api.quadminds.com/api/v2
  • URL
    https://flash-api.quadminds.com/api/v2/orders/{id}
  • Auth
    API key in header x-saas-apikey

Path parameters

idinteger required

Request body

poiIdinteger

Poi id

codestring

Order code

datestring date

Order date

totalAmountnumber

Order total amount with taxes

totalAmountWithoutTaxesnumber

Order total amount without taxes

operation'PEDIDO' | 'RETIRO'

Order type

labelstring

Order label

prioritynumber

Order priority from 0 to 9

statusIdnumber

Status for the order

Example request

{
  "timeWindow": [
    {
      "from": "08:00",
      "to": "13:00"
    }
  ],
  "merchants": [
    {
      "_id": 1
    }
  ]
}

Response

Updated order

Example response

{
  "data": {
    "timeWindow": [
      {
        "from": "08:00",
        "to": "13:00"
      }
    ],
    "merchants": [
      {
        "_id": 1
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.