How can I link a checkout to its corresponding order?

Is there a way to know which checkout resulted in which order?

Or perhaps a way to add metadata to a checkout that will be present on the unfulfilled order.

Update: On the order object there’s a “checkout_token” property.