Skip to main content
PATCH
/
v1
/
abandoned_checkouts
/
{id}
Update
curl --request PATCH \
  --url https://{defaultHost}/v1/abandoned_checkouts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "abandoned_checkout": {
    "notifications_enabled": true
  }
}
'
{
  "id": "195de227-1d5d-49fb-90a1-6fe77cea5429",
  "object": "abandoned_checkout",
  "notifications_enabled": true,
  "notification_status": "not_scheduled",
  "notifications_scheduled_at": [],
  "portal_url": "http://app.example.com/portal_redirect/abandoned_checkouts/195de227-1d5d-49fb-90a1-6fe77cea5429",
  "recovery_status": "abandoned",
  "recovered_at": null,
  "checkout": "d3705993-142a-495c-ba63-5b09c119ef0e",
  "customer": "e1c080e3-ed38-46b0-905c-224767229cef",
  "promotion": null,
  "recovered_checkout": null,
  "created_at": 1767907551,
  "updated_at": 1767909651
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
abandoned_checkout
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

notifications_enabled
boolean

Whether or not notifications should be sent to the customer for this abandoned checkout.

notification_status
string

The current notification status for this abandonded checkout, which can be one of not_scheduled, scheduled, or sent.

portal_url
string | null

A URL that will redirect to this abandoned checkout's correct portal page (hosted or external).

checkout

Expandable – The associated checkout ID.

customer

Expandable – The associated customer ID.

promotion

The promotion that was auto-generated for this abandoned checkout.

Expandable – The associated promotion ID.

recovered_at
integer | null

If the abandoned checkout has been recovered, the time it was recovered at.

recovered_checkout

The checkout that was recovered from this abandoned checkout.

Expandable – The associated checkout ID.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.