Ordexs API v1 Get an API key

Orders

Log a contact

POSThttps://api.ordexs.com/v1/orders/{order_id}/contacts

Records that the customer was called, texted or messaged on WhatsApp, like the order card's call buttons, and optionally how the call went. It doesn't place the call: it writes it down for the team.

Path parameters

  • order_idstringRequired

    starts with ord_

Body

  • channelstringRequired

    One of call, sms, whatsapp

  • outcomeContactOutcome

    One of answered, no_answer, busy, rejected, wrong_number, callback_later

  • duration_secondsinteger

    For an answered call.

    0–86400

Returns

201 Created · The logged contact. Contact

  • idstring

    starts with con_

  • objectstring

    always "contact"

  • order_idstring
  • channelstring

    One of call, sms, whatsapp

  • outcomeContactOutcome or null
  • duration_secondsinteger or null
  • actorobject
    2 child fields
    • typestring

      One of user, api_key, system

    • namestring or null
  • created_atstring

    ISO 8601 date-time, UTC

  • livemodeboolean

Errors

Every error has the same shape. This endpoint can answer with: