# getOrderBy

### Arguments

| Argument                                                                                                       | Description |
| -------------------------------------------------------------------------------------------------------------- | ----------- |
| id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id))                                |             |
| shopifyId ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                 |             |
| shopifyFulfillmentOrderId ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)) |             |

### Return fields

#### acceptUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The url to accept and pay for this order

#### amountCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

The amount in cents

#### cancelUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The url to cancel this order

#### createdAt ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))

Order creation date

#### currency ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

Currency used for this order

#### discountCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The amount of discount for this order in cents including tax

#### discountExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The amount of discount for this order in cents excluding tax

#### extraFieldAnswersSummary ([JSON](https://developer.firmhouse.com/graphql-api/api-reference/objects/json))

Summary of extra field answers from the shipping section only (captured when the order was created). Each entry is an object with a single key-value pair: the field name as key and answer value as value.

#### fulfilledAt ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))

Time at which the order was marked as fulfilled.

#### id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id))

ID to identify the order with

#### invoice ([Invoice](https://developer.firmhouse.com/graphql-api/api-reference/objects/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 (\[[OrderLine](https://developer.firmhouse.com/graphql-api/api-reference/objects/order-line)!])

The lines on the order.

#### paid ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean)!)

Wether the order and its invoice is paid. Will always be true if the order total amount is zero and no invoice is attached.

#### payment ([Payment](https://developer.firmhouse.com/graphql-api/api-reference/objects/payment))

The associated payment for this order. Can be null if this order is a shipment-only order.

#### shipmentDate ([ISO8601Date](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date))

The date on which the order is initiated

#### shippingCostsCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The amount of shipping cost for this order in cents including tax

#### shippingCostsExclTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The amount of shipping cost for this order in cents excluding tax

#### shopifyDraftId ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The associated Shopify draft order ID.

#### shopifyFulfillmentOrderId ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The associated Shopify fulfillment order ID.

#### shopifyId ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The associated Shopify order ID.

#### snoozeUrl ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The url to snooze this order

#### status ([OrderStatus](https://developer.firmhouse.com/graphql-api/api-reference/objects/order-status)!)

Order status

#### subscription ([Subscription](https://developer.firmhouse.com/graphql-api/api-reference/objects/subscription))

The subscription this order was made for.

#### totalTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int)!)

The total amount of tax for this order in cents

#### ~~trackAndTraceCode (~~[~~String~~](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)~~)~~

*`Deprecated: Please use 'tracking_code' instead.`*

The track and trace code for this order.

#### trackingCode ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The tracking code for this order. Made available in email templates.

#### updatedAt ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))

The date and time when the order was last updated.
