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

# The Order object

> An Order represents a request made by a customer for credit inventory.

### The Order object

<AccordionGroup>
  <Accordion title="Props" defaultOpen={true}>
    <ParamField type="integer" body="id">
      Unique ID of order, generated by Mangrove
    </ParamField>

    <ParamField type="string" body="order_status">
      Status of the order (e.g., `COMPLETE`, `PENDING`)
    </ParamField>

    <ParamField type="string" body="customer">
      Name of the customer placing the order
    </ParamField>

    <ParamField type="string" body="reference">
      Order reference number (e.g., `A1234567890`)
    </ParamField>

    <ParamField type="string" body="deal_date">
      Date when the deal was made
    </ParamField>

    <ParamField type="string|null" body="expiry_date">
      Expiry date of the order, or `null` if not set
    </ParamField>

    <ParamField type="string" body="currency">
      Currency code for the order (e.g., `USD`)
    </ParamField>

    <ParamField type="string" body="order_terms">
      Payment terms for the order (e.g., `Pay on delivery`)
    </ParamField>

    <ParamField type="string" body="delivery_method">
      Method of delivery (e.g., `RETIREMENT`)
    </ParamField>

    <ParamField type="object[]" body="deliveries">
      Array of delivery objects associated with the order
    </ParamField>

    <ParamField type="string" body="created_at">
      Timestamp when the order was created
    </ParamField>

    <ParamField type="string" body="updated_at">
      Timestamp when the order was last updated
    </ParamField>
  </Accordion>
</AccordionGroup>
