Ordexs API v1 Get an API key

Webhook event

abandoned_checkout.updated

An abandoned checkout changesSubscribe with events

Sent when its status (confirmed, recovered, deleted), contact, total or assignee changes — not on every keystroke of the shopper. When the shopper finishes ordering themselves, this is the last event: status recovered with order_id, after which the checkout is deleted (GET answers 404). data.object is the AbandonedCheckout.

data.object

The AbandonedCheckout exactly as retrieve an abandoned checkout returns it, frozen when the change was saved.

  • idstring

    starts with chk_

  • objectstring

    always "abandoned_checkout"

  • statusstring

    open: still abandoned. confirmed / recovered: the team turned it into an order (order_id). deleted: removed by the team, or closed after 30 days without activity. A checkout the shopper finished themselves is deleted outright (see abandoned_checkout.updated).

    One of open, confirmed, recovered, deleted

  • customerobject
    3 child fields
    • namestring or null
    • phonestring
    • emailstring or null
  • shipping_addressobject
    4 child fields
    • countrystring
    • regionobject or null
      2 child fields
      • codestring
      • namestring or null
    • cityobject or null
      2 child fields
      • codeany or null
      • namestring
    • address1string or null
  • notestring or null
  • line_itemsarray of objects
    7 child fields
    • product_idstring or null
    • variant_idstring or null
    • titlestring
    • variant_titlestring or null
    • image_urlstring or null
    • quantityinteger
    • unit_priceMoney

      An amount of money. amount is a decimal STRING with exactly the currency's number of decimals ("1250.00" in DZD, "12.500" in TND) — never parse it into a float.

      2 child fields
      • amountstringRequired
      • currencystringRequired
  • subtotalMoney

    An amount of money. amount is a decimal STRING with exactly the currency's number of decimals ("1250.00" in DZD, "12.500" in TND) — never parse it into a float.

    2 child fields
    • amountstringRequired
    • currencystringRequired
  • totalMoney

    An amount of money. amount is a decimal STRING with exactly the currency's number of decimals ("1250.00" in DZD, "12.500" in TND) — never parse it into a float.

    2 child fields
    • amountstringRequired
    • currencystringRequired
  • deliveryobject
    2 child fields
    • modestring or null

      One of home, pickup_point

    • labelstring or null
  • order_idstring or null

    The order it became

  • assigned_toobject or null
    2 child fields
    • idstring
    • namestring
  • sourcestring or null

    Where the shopper came from (an ad

  • recovered_atstring or null

    ISO 8601 date-time, UTC

  • created_atstring

    ISO 8601 date-time, UTC

  • updated_atstring

    ISO 8601 date-time, UTC

  • livemodeboolean