> For the complete documentation index, see [llms.txt](https://help.sesami.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sesami.co/apps-integrations/shopify/orders.md).

# Orders

When a customer books through Shopify Checkout, Sesami creates a Shopify order. Here's how booking orders work and how to manage them.

{% hint style="info" %}
**Sesami Instant Booking** has an option to create or not create a Shopify order. If order creation is disabled, bookings are recorded in Sesami only.
{% endhint %}

## What a Booking Order Looks Like

A Sesami booking order in Shopify includes:

* The **service product** with the Duration variant (e.g., "60 Minutes")
* **Line item properties** with booking details: date, time, resource, and location
* Standard Shopify order data: customer info, payment, order number

## Order Fulfillment

Since bookings are services — not physical products — there's nothing to ship. You can handle fulfillment in whichever way works for your team:

* **Leave orders unfulfilled** — this is the simplest approach and doesn't affect the booking in any way
* **Fulfill after the appointment** — useful if you want a clean order list showing only upcoming appointments as "unfulfilled"
* **Auto-fulfill at booking** — if you prefer all orders marked as complete right away

{% hint style="info" %}
Fulfillment status has **no effect** on the booking itself. Whether an order is fulfilled or not, the appointment remains active in Sesami.
{% endhint %}

### Auto-Fulfilling Service Orders

If you want to automate fulfillment for service orders, you can:

* Use **Shopify Flow** to auto-fulfill orders tagged with a specific tag
* Use a third-party fulfillment app for digital/service products

## Refunds

Refunds for booking orders follow the standard Shopify refund process:

1. Go to **Shopify Admin > Orders > \[select the order]**
2. Click **Refund**
3. Process the refund as needed

{% hint style="warning" %}
Refunding an order in Shopify does **not** automatically cancel the booking in Sesami. Cancel the appointment in Sesami separately if needed.
{% endhint %}

## Related

* [Customers](https://help.sesami.co/apps-integrations/shopify/customers.md) — how customer data flows between Sesami and Shopify
* [Catalog and Products](https://help.sesami.co/apps-integrations/shopify/catalog-and-products.md) — setting up products as bookable services
* [Cancellations & Rescheduling](https://help.sesami.co/booking/booking-features/cancellations-rescheduling.md) — managing appointment changes
* [Sesami Instant Booking](https://help.sesami.co/booking/booking-features/instant-booking.md) — booking without going through Shopify Checkout


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sesami.co/apps-integrations/shopify/orders.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
