## Creates delivery orders for a specific store.

`DeliveryCreateStoreDeliveriesResponse Deliveries.CreateStoreDeliveries(DeliveryCreateStoreDeliveriesParamsparameters, CancellationTokencancellationToken = default)`

**post** `/api/v2/public/stores/{store_number}/orders/deliveries`

Creates delivery orders for a specific store.

### Parameters

- `DeliveryCreateStoreDeliveriesParams parameters`

  - `required string storeNumber`

    Path param: The store number.

  - `IReadOnlyList<Order>? orders`

    Body param: The list of delivery orders to create.

    - `required DateTimeOffset DatetimeExpected`

      The expected delivery datetime.

    - `required Int NoOfContainers`

      The number of containers in the delivery.

    - `required string OrderNumber`

      The unique order number.

    - `required Int OrderType`

      The order type identifier (e.g. 1 = purchase, 2 = transfer).

    - `DateTimeOffset? DatetimeCreated`

      The datetime the order was created. Defaults to UTC now if omitted.

    - `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 string ProductNumber`

        The product 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.

      - `Double? OrderedQuantity`

        The originally ordered quantity.

      - `string? ProductDescription`

        A description of the product.

      - `Double? PurchasePrice`

        The purchase price per unit.

      - `string? Reference`

        An external reference for the order line.

      - `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? Reference`

      An external reference for the delivery order.

    - `string? StoreOrigin`

      The origin store number (for inter-store transfers).

    - `string? SupplierCode`

      The unique supplier code.

    - `string? SupplierName`

      The name of the supplier.

    - `string? TracingUrl`

      URL for tracking the delivery shipment.

  - `Boolean containerOverride`

    Header param: When true, overrides container validation.

### Returns

- `class DeliveryCreateStoreDeliveriesResponse:`

  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
DeliveryCreateStoreDeliveriesParams parameters = new()
{
    StoreNumber = "store_number"
};

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

Console.WriteLine(response);
```

#### Response

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