Introduction

An order consists of the following

### States

An order can be in one of the following states:

### Shipments

An Order in Sylius holds a collection of Shipments on it. Each shipment in that collection has its own shipping method and has its own state. This lets you divide an order into several different shipments that have own shipping states (like sending physical objects via DHL and sending a link to downloadable files via e-mail).

A shipment can be in one of the following state:

Payments

An Order in Sylius holds a collection of Payments on it. Each payment in that collection has its own payment method and has its own payment state. It lets you to divide paying for an order into several different methods that have own payment states.

A payment can be in one the following states:

### Order index page

alt text

The order index page lists the orders in the system.

On this page you can search for orders and access them individually. (See Order Show Page)

Filters:

Once you have set your filters, hit “Enter” or click the “Filter” button.

You can reset the filters by clicking the “Clear filters” button.

The main section of the page is the order list. There is a pagination area and a dropdown for selecting how many orders to show at once. Following this is a table with a row for each order. You will see:

Actions available are: Show, which takes you to the order page.

Order Show Page

This page displays all details related to an order. You can manage shipments, payments, addresses, and you can cancel the order.

Cancelling an order

To cancel an order, click the “Cancel” button in the top right corner. Cancelling an order will also cancel pending payments and shipments.

Editing order addresses

The section is located at the right side of the page. Click the “Edit” button to edit shipping and billing addresses.

alt text

#### Payments section

It lists all associated payments, including failed and cancelled payments. Here you can complete or refund a payment. This will set the payment state to completed or refunded according to the available action. A payment can only be refunded once it’s completed. Cancelling the order will cancel all payments.

alt text

#### Shipments section

It lists all associated shipments. You can “ship” an order by clicking the “Ship” button; optionally provide a tracking code. Cancelling the order will cancel all shipments.

alt text

Order items

This table lists all order items associated with the order. Each order item represents a product; it also shows the variant which was chosen by the customer.

Shipments, taxes and promitions are listed underneath the order items table.

alt text