Returns the order information that's available post-checkout.
Returns the order information that's available post-checkout.
export function useOrder< ID extends RenderExtensionPoint = RenderExtensionPoint, >(): Order | undefined { const api = useApi<ID>(); if ('order' in api) { return useSubscription(api.order); } throw new ExtensionHasNoMethodError('order', api.extensionPoint); }
Information about an order that was placed.
A globally-unique identifier.
Unique identifier for the order that appears on the order.
If cancelled, the time at which the order was cancelled.