## Creates delivery orders across multiple stores.

`DeliveryCreateMultiStoreDeliveriesResponse Deliveries.CreateMultiStoreDeliveries(DeliveryCreateMultiStoreDeliveriesParams?parameters, CancellationTokencancellationToken = default)`

**post** `/api/v2/public/orders/deliveries`

Creates delivery orders across multiple stores.

### Parameters

- `DeliveryCreateMultiStoreDeliveriesParams parameters`

  - `IReadOnlyList<Order>? orders`

    Body param: The list of multi-store delivery orders to create.

    - `required DateTimeOffset DatetimeExpected`

      The expected delivery datetime.

    - `required Int NoOfContainers`

      The number of containers.

    - `required string OrderNumber`

      The unique order number.

    - `required Int OrderType`

      The order type identifier.

    - `required string StoreNumber`

      The target store number.

    - `required string SupplierName`

      The name of the supplier.

    - `DateTimeOffset? DatetimeCreated`

      The datetime the order was created.

    - `string? Description`

      A description of the delivery order.

    - `IReadOnlyList<OrderLine>? OrderLines`

      The order lines in this delivery.

      - `required Int LineNumber`

        The order line number.

      - `required Double Quantity`

        The quantity being delivered.

      - `required Int TargetStockPool`

        The target stock pool for the delivered goods.

      - `string? Barcode`

        The product barcode.

      - `string? ContainerBarcode`

        The barcode of the container this line belongs to.

      - `Int? CustomerOrderLineNumber`

        The line number on the customer order.

      - `string? CustomerOrderNumber`

        The customer order number this line fulfills.

      - `string? CustomerOrderShipmentNumber`

        The customer order shipment number.

      - `Int? CustomerOrderShipmentNumberLineNumber`

        The line number on the customer order shipment.

      - `string? Description`

        A description of the order line.

      - `string? ProductNumber`

        The product number.

      - `Int? SecondaryOrderLineNumber`

        The line number on the secondary order.

      - `string? SecondaryOrderNumber`

        A secondary/external order number.

    - `Int? ReasonCode`

      The reason code for the delivery.

    - `string? SupplierCode`

      The unique supplier code.

    - `string? TracingUrl`

      URL for tracking the delivery shipment.

  - `Boolean containerOverride`

    Header param: When true, overrides container validation.

### Returns

- `class DeliveryCreateMultiStoreDeliveriesResponse:`

  Standard success response returned by mutation endpoints.

  - `required Boolean Success`

    Indicates whether the operation completed successfully.

  - `string? Data`

    Optional data payload returned by the operation.

  - `string? Message`

    Human-readable message describing the result.

### Example

```csharp
DeliveryCreateMultiStoreDeliveriesParams parameters = new();

var response = await client.Deliveries.CreateMultiStoreDeliveries(parameters);

Console.WriteLine(response);
```

#### Response

```json
{
  "success": true,
  "data": "data",
  "message": "message"
}
```
