Docs
Get Organization Order Version Diff
GET /organizations/{organizationId}/orders/{orderId}/versions/{versionId}/diff
GET
/organizations/{organizationId}/orders/{orderId}/versions/{versionId}/diffRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Organizations/{organizationId}/authorize`. |
What changed in a version since the last version sent before it. Same response as GET /orders/{orderId}/versions/{versionId}/diff. Reaches archived events.
Requires OrganizationBasicAccess permission. No event token: this is the org grain's copy of an event route, for members who are not on the event.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| organizationId | Guid | Required | The organization that owns the event. |
| orderId | Guid | Required | The order. Must belong to one of the organization's events. |
| versionId | Guid | Required | The order version. |
Response
| Field | Type | Description |
|---|---|---|
| versionId | Guid | The version diffed. |
| number | int | Its number. |
| comparedToVersionId | Guid| null | The last version sent before it, or null when none was. |
| comparedToNumber | int| null | That version's number. |
| isEmpty | bool | True when nothing changed. |
| changes | Change[] | `kind`, `field`, `from`, `to`, `phrasing`. |