> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OrderDetailsInput

`INPUT_OBJECT`

## Fields

<ResponseField name="orderReference" type="Max36Text">
  A unique identifier created by the acceptor and assigned to the order placed by the customer.
</ResponseField>

<ResponseField name="orderDateTimeUtc" type="DateTime">
  The date and time the order was placed by the customer.
</ResponseField>

<ResponseField name="customerDetails" type="CustomerDetailsInput">
  Details of the customer associated with the order. This may be different from the individuals associated with the billing and/or shipping.

  <Expandable title="child attributes">
    <ResponseField name="company" type="Max50Text">
      The company, if applicable, associated with the order.
    </ResponseField>

    <ResponseField name="email" type="Email">
      The email associated with the order.
    </ResponseField>

    <ResponseField name="firstName" type="Max50Text">
      The first name of the individual associated with the order. Note, this may be different from the name associated with the shipping and billing addresses.
    </ResponseField>

    <ResponseField name="lastName" type="Max50Text">
      The last name, surname, or family name of the individual associated with the order. This may be different from the name associated with the shipping and billing addresses.
    </ResponseField>

    <ResponseField name="mobileNumber" type="Max50Text">
      The mobile number associated with the order, if different from phone number.
    </ResponseField>

    <ResponseField name="phoneNumber" type="Max50Text">
      The phone number associated with the order.
    </ResponseField>

    <ResponseField name="reference" type="String">
      A unique identifier created by the acceptor or organization and assigned to the customer who placed the order.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="shipToAddress" type="AddressDetailsInput">
  The shipping address, if applicable, for where the purchased goods are to be sent. This may be different from the customer or billing address.

  <Expandable title="child attributes">
    <ResponseField name="address1" type="Max100Text">
      The first line of the address.
    </ResponseField>

    <ResponseField name="address2" type="Max100Text">
      The second line of the address, if applicable.
    </ResponseField>

    <ResponseField name="address3" type="Max100Text">
      The third line of the address, if applicable.
    </ResponseField>

    <ResponseField name="city" type="Max100Text">
      City, town, or village.
    </ResponseField>

    <ResponseField name="countryCode" type="CountryCode">
      The ISO 3166-1 three-letter country code associated with the address.

      See [CountryCode](/acquiring/reference/graphql/types/country-code)
    </ResponseField>

    <ResponseField name="firstName" type="Max50Text">
      The first name of the individual associated with this address.
    </ResponseField>

    <ResponseField name="lastName" type="Max50Text">
      The last name, surname, or family name of the individual associated with this address.
    </ResponseField>

    <ResponseField name="postalCode" type="Max15Text">
      A set of specific numbers, and sometimes letters, that help postal services deliver mail.
    </ResponseField>

    <ResponseField name="state" type="String">
      State or province. US states must be in their 2 character format defined here [https://about.usps.com/who/profile/history/state-abbreviations.htm](https://about.usps.com/who/profile/history/state-abbreviations.htm). Canadian provinces must be their 2 character format defined here [https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/completing-slips-summaries/financial-slips-summaries/return-investment-income-t5/provincial-territorial-codes.html](https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/completing-slips-summaries/financial-slips-summaries/return-investment-income-t5/provincial-territorial-codes.html)
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="shipFromAddress" type="ShipFromAddressInput">
  The shipping origination address, if applicable.

  <Expandable title="child attributes">
    <ResponseField name="postalCode" type="String!" required />
  </Expandable>
</ResponseField>
