# Automated Rental Status Updates

Product Rentals Pro does a great job of telling you what Fulfillments are coming up based on rental dates (and buffers). However most of your Fulfillments will still be done on the Shopify Order screen or in another Fulfillments app, such as ShipStation or Ricemill.

Regardless of how it's done, as long as it results on Fulfillments being recorded on the Shopify Order, it will automatically impact the status of the rental in Product Rentals Pro.

## Automated Update Logic

When there are changes to Order Fulfillments (or an Order is Cancelled) in Shopify, the following logic applies to the rentals linked to the Order:

<table><thead><tr><th width="206">Action in Shopify</th><th width="304">Condition(s)</th><th>Rental Updates</th></tr></thead><tbody><tr><td>Fulfillment Created</td><td><ul><li>Rental status is not <img src="/files/IFAeeZtjDwxHsHpjojAG" alt=""> or <img src="/files/Da3i5a4HXWFSqtlUaK5L" alt=""></li><li>At least 1 Fulfillment line item (product/variant) overlaps with items in the rental<br>— <strong>OR —</strong> <br>The order is completely fulfilled (not partially fulfilled)</li></ul></td><td><ul><li>Rental status becomes <img src="/files/BCfJTCCc1xaw1kdb4Nil" alt=""></li><li>If present, Rental Tracking Number and Tracking Link updated to that of the Fulfillment</li></ul></td></tr><tr><td>Fulfillment Cancelled</td><td><ul><li>Rental status is <img src="/files/NA8Z5j3uWogOjpVwtEip" alt=""></li><li>There are no other valid Fulfillments on the Order<br>— <strong>OR —</strong> <br>At least 1 Fulfillment line item (product/variant) overlaps with items in the rental</li></ul></td><td>Rental status becomes <img src="/files/ZtREMXnTXBRlm2oHzSuy" alt=""></td></tr><tr><td>Tracking Number and Link added to existing Fulfillment</td><td><ul><li>At least 1 Fulfillment line item (product/variant) overlaps with items in the rental<br>— <strong>OR —</strong> <br>The Order is completely fulfilled (not partially fulfilled), and it only has 1 Fulfillment.</li></ul></td><td>If present, Rental Tracking Number and Tracking Link updated to that of the Fulfillment</td></tr><tr><td>Order Cancelled</td><td>Always</td><td>Rental status becomes <img src="/files/nGdwIIyQWTX3X6s79vo9" alt=""></td></tr></tbody></table>

{% hint style="warning" %}
A situation where these updates could cause an issue is if the exact same product/variant is in an order twice, with each forming part of two separate rentals. In this instance, it isn't easy for us to determine which Order line item relates to which rental. Rental dates may have been updated since the time the Order was created, so this can't be relied upon to determine this.\
\
This is probably a rare scenario, but keep an eye out for it and [let us know](https://tally.so/r/mVlWGy) if it becomes a common problem for your store.
{% endhint %}

## Order Fulfillments and Order Fulfillment Statuses displayed in PRP

There are a couple of spots within Product Rentals Pro where we will simply display the Fulfillments and/or Fulfillment Status of the linked Order. These are:

* The grey Order box on the Rental Detail screen
* The grey Order panel on the right hand side of a rental when using **Card View** on any of the rentals list screens (Rentals, Fulfillments or Returns)

These will at all times show the details from the Shopify Order. So, as an example, a rental may have a status of **Dispatched** but the Order Fulfillment status on the Order panel of a rental card, might say the Fulfillment is "**Partial**", if there are any unfulfilled items on the Order.

<div align="left"><figure><img src="/files/WA0Auc81xElnWWw6eBBQ" alt=""><figcaption></figcaption></figure></div>

Another example is that the grey Order box on the Rental Detail screen will show all Fulfillments for the linked Order, even if the Fulfillment does not include the line items of the rental.

You can consider the grey Order box on the Rental Detail screen, and the grey Order panel on the right side of a rental card, as a **window into the linked Shopify Order**, with information that can't be changed by a user within Product Rentals Pro.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.productrentalspro.com/user-guide/fulfillments-and-returns/fulfillments/automated-rental-status-updates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
