Ordexs API v1 Get an API key

Webhooks

List events

GEThttps://api.ordexs.com/v1/events

The events of the last 30 days for this mode, newest first — the same bodies that were POSTed. Use it to catch up on anything your endpoint missed. Only events some endpoint was subscribed to are recorded.

Query parameters

  • limitinteger

    How many objects to return, 1–100. Default 25.

    1–100

  • cursorstring

    The next_cursor from the previous page. Repeat the same filters with it.

    up to 512 characters

  • created_sincestring

    Only objects created at or after this moment (ISO-8601).

    ISO 8601 date-time, UTC

  • typestring

    Only events of this type, for example order.created.

    up to 60 characters

Returns

200 OK · A page of events. EventList

  • objectstringRequired

    always "list"

  • has_morebooleanRequired
  • next_cursorstring or nullRequired

    Pass as cursor to get the next page. null on the last page.

  • dataarray of EventsRequired
    9 child fields
    • idstringRequired

      Unique per event. Deliveries can repeat — ignore an id you've already processed.

      starts with evt_

    • objectstringRequired

      always "event"

    • typestringRequired
    • api_versionstringRequired

      always "v1"

    • created_atstringRequired

      ISO 8601 date-time, UTC

    • livemodebooleanRequired
    • store_idstring
    • dataobjectRequired
      2 child fields
      • objectobject

        The object as it was when the change was saved.

      • previous_attributesobject

        The fields that changed and their old values, when known.

    • requestobject
      1 child field
      • api_key_idstring or null

        The API key that caused the change, if any.

Errors

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