Docs

Get Organization Order Version Diff

GET /organizations/{organizationId}/orders/{orderId}/versions/{versionId}/diff

GET/organizations/{organizationId}/orders/{orderId}/versions/{versionId}/diff

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **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

FieldTypeRequiredDescription
organizationIdGuidRequiredThe organization that owns the event.
orderIdGuidRequiredThe order. Must belong to one of the organization's events.
versionIdGuidRequiredThe order version.

Response

FieldTypeDescription
versionIdGuidThe version diffed.
numberintIts number.
comparedToVersionIdGuid| nullThe last version sent before it, or null when none was.
comparedToNumberint| nullThat version's number.
isEmptyboolTrue when nothing changed.
changesChange[]`kind`, `field`, `from`, `to`, `phrasing`.