orderRevision
Retrieve a specific order revision by order ID and revision number.
Returns detailed information about a specific revision of an order including all order data as it existed at the time of that revision. Essential for audit trails and order history tracking.
Possible errors:
- ORDER_NOT_FOUND: Order with the specified ID does not exist
- ORDER_REVISION_NOT_FOUND_ERROR: Order revision with specified parameters does not exist
- ORDER_REVISION_GET_ERROR: Failed to retrieve order revision due to system error
- VALIDATION_ERROR: Invalid order ID or revision number provided
- FORBIDDEN: Insufficient permissions to access order revisions
AUTH: Role=[order.OWNER,order.EDITOR,order.VIEWER] OR ('user is authenticated')
orderRevision(
orderId: Int!
revisionNumber: Int!
): OrderRevision
Arguments
orderRevision.orderId
● Int!
non-null scalar
Unique identifier of the order to retrieve revision for
orderRevision.revisionNumber
● Int!
non-null scalar
Revision number to retrieve