> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect the original Sync outcome

> Original Sync order observation; not proof that this EDI change completed in an ERP

### Path parameters

**event\_id** `string` *required*

Accepted EDI event identifier

### Response

`SyncOutcomeResponse`

**data** `SyncOutcomeView` *required*

**SyncOutcomeView**

**checked\_at** `string,null (date-time)`

**connection\_id** `string,null`

**environment** `string` *required*

**error\_code** `string,null`

**event\_id** `string` *required*

**event\_type** `string` *required*

**observation\_status** `string` *required*

current, stale, checking, unavailable, or awaiting\_sync.

**observed\_at** `string,null (date-time)`

**order** `OrderObservation,null`

**OrderObservation**

**connectors** `ConnectorObservation[]` *required*

**movements** `MovementObservation[]` *required*

**order\_id** `string` *required*

**order\_number** `string` *required*

**order\_status** `string` *required*

**sync\_action** `string,null`

**sync\_status** `string` *required*

**success** `boolean` *required*

### Status codes

| Code | Meaning |
| - | - |
| `200` | Original Sync order observation; not proof that this EDI change completed in an ERP |
| `404` | No delivery in this workspace |

### Using this contract

Read the [source OpenAPI document](/spec/edi.json) for declared schemas and alternatives.
This page also includes documented corrections from the [spec overlays](https://github.com/stateset/docs/tree/main/spec/overlays).
Example IDs and values are illustrative; replace them with records from your workspace.

```bash cURL theme={null}
curl --silent --show-error --fail-with-body --request GET \
  --url 'https://api.edi.stateset.com/v1/connections/sync/deliveries/{event_id}/outcome' \
  --header "Authorization: Bearer $EDI_API_TOKEN"
```

```json 200 theme={null}
{
  "data": {
    "checked_at": "2026-08-31T14:22:05Z",
    "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "environment": "string",
    "error_code": "string",
    "event_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "event_type": "string",
    "observation_status": "string",
    "observed_at": "2026-08-31T14:22:05Z",
    "order": {
      "connectors": [
        {
          "connector": "string",
          "last_attempt_at": "2026-08-31T14:22:05Z",
          "last_synced_at": "2026-08-31T14:22:05Z",
          "needs_attention": true,
          "object_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        }
      ],
      "movements": [
        {
          "event_type": "string",
          "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "occurred_at": "2026-08-31T14:22:05Z",
          "source": "string",
          "stage": "string",
          "status": "pending"
        }
      ],
      "order_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "order_number": "ORD-10042",
      "order_status": "string"
    },
    "sync_action": "string",
    "sync_status": "string"
  },
  "success": true
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.