# FirmhouseOrder

## Properties

| Property                    | Type                                                                                                                              | Description                                                                                                                            |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `acceptUrl`                 | `null` \| `string`                                                                                                                | The url to accept and pay for this order                                                                                               |
| `amountCents`               | `number`                                                                                                                          | The amount in cents                                                                                                                    |
| `cancelUrl`                 | `null` \| `string`                                                                                                                | The url to cancel this order                                                                                                           |
| `createdAt`                 | `null` \| `string`                                                                                                                | Order creation date                                                                                                                    |
| `discountCents`             | `null` \| `number`                                                                                                                | The amount of discount for this order in cents including tax                                                                           |
| `discountExclTaxCents`      | `null` \| `number`                                                                                                                | The amount of discount for this order in cents excluding tax                                                                           |
| `fulfilledAt`               | `null` \| `string`                                                                                                                | Time at which the order was marked as fulfilled.                                                                                       |
| `id`                        | `null` \| `string`                                                                                                                | ID to identify the order with                                                                                                          |
| `invoice?`                  | `null` \| [`FirmhouseInvoice`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-invoice)         | The invoice for this order. Can be null if this order is a shipment-only order without directly being related to a payment or invoice. |
| `orderLines?`               | `null` \| [`FirmhouseOrderLine`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-order-line)\[] | The lines on the order.                                                                                                                |
| `paid`                      | `boolean`                                                                                                                         | Whether the order and its invoice is paid. Will always be true if the order total amount is zero and no invoice is attached.           |
| `payment?`                  | `null` \| [`FirmhousePayment`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-payment)         | The associated payment for this order. Can be null if this order is a shipment-only order.                                             |
| `shipmentDate`              | `null` \| `string`                                                                                                                | The date on which the order is initiated                                                                                               |
| `shippingCostsCents`        | `null` \| `number`                                                                                                                | The amount of shipping cost for this order in cents including tax                                                                      |
| `shippingCostsExclTaxCents` | `null` \| `number`                                                                                                                | The amount of shipping cost for this order in cents excluding tax                                                                      |
| `shopifyDraftId`            | `null` \| `string`                                                                                                                | The associated Shopify draft order ID                                                                                                  |
| `shopifyId`                 | `null` \| `string`                                                                                                                | The associated Shopify order ID.                                                                                                       |
| `snoozeUrl`                 | `null` \| `string`                                                                                                                | The url to snooze this order                                                                                                           |
| `status`                    | [`OrderStatus`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/enumerations/order-status)                           | Order status                                                                                                                           |
| `totalTaxCents`             | `number`                                                                                                                          | The total amount of tax for this order in cents                                                                                        |
| `trackingCode`              | `null` \| `string`                                                                                                                | The tracking code for this order. Made available in email templates.                                                                   |
| `updatedAt`                 | `null` \| `string`                                                                                                                | The date and time when the order was last updated.                                                                                     |
