/** * A lightweight description of an [order](entity:Order) that is returned when * `returned_entries` is `true` on a [SearchOrdersRequest](api-endpoint:Orders-SearchOrders). */ export interface OrderEntry { /** The ID of the order. */ orderId?: string | null; /** * The version number, which is incremented each time an update is committed to the order. * Orders that were not created through the API do not include a version number and * therefore cannot be updated. * * [Read more about working with versions.](https://developer.squareup.com/docs/orders-api/manage-orders/update-orders) */ version?: number; /** The location ID the order belongs to. */ locationId?: string | null; }