## Creates delivery orders for a specific store.

`deliveries.create_store_deliveries(strstore_number, DeliveryCreateStoreDeliveriesParams**kwargs)  -> DeliveryCreateStoreDeliveriesResponse`

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

Creates delivery orders for a specific store.

### Parameters

- `store_number: str`

- `orders: Optional[Iterable[Order]]`

  The list of delivery orders to create.

  - `datetime_expected: Union[str, datetime]`

    The expected delivery datetime.

  - `no_of_containers: int`

    The number of containers in the delivery.

  - `order_number: str`

    The unique order number.

  - `order_type: int`

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

  - `datetime_created: Optional[Union[str, datetime, null]]`

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

  - `description: Optional[str]`

    A description of the delivery order.

  - `order_lines: Optional[Iterable[OrderOrderLine]]`

    The order lines in this delivery.

    - `line_number: int`

      The order line number.

    - `product_number: str`

      The product number.

    - `quantity: float`

      The quantity being delivered.

    - `target_stock_pool: int`

      The target stock pool for the delivered goods.

    - `barcode: Optional[str]`

      The product barcode.

    - `container_barcode: Optional[str]`

      The barcode of the container this line belongs to.

    - `customer_order_line_number: Optional[int]`

      The line number on the customer order.

    - `customer_order_number: Optional[str]`

      The customer order number this line fulfills.

    - `customer_order_shipment_number: Optional[str]`

      The customer order shipment number.

    - `customer_order_shipment_number_line_number: Optional[int]`

      The line number on the customer order shipment.

    - `description: Optional[str]`

      A description of the order line.

    - `ordered_quantity: Optional[float]`

      The originally ordered quantity.

    - `product_description: Optional[str]`

      A description of the product.

    - `purchase_price: Optional[float]`

      The purchase price per unit.

    - `reference: Optional[str]`

      An external reference for the order line.

    - `secondary_order_line_number: Optional[int]`

      The line number on the secondary order.

    - `secondary_order_number: Optional[str]`

      A secondary/external order number.

  - `reason_code: Optional[int]`

    The reason code for the delivery.

  - `reference: Optional[str]`

    An external reference for the delivery order.

  - `store_origin: Optional[str]`

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

  - `supplier_code: Optional[str]`

    The unique supplier code.

  - `supplier_name: Optional[str]`

    The name of the supplier.

  - `tracing_url: Optional[str]`

    URL for tracking the delivery shipment.

- `container_override: Optional[bool]`

### Returns

- `class DeliveryCreateStoreDeliveriesResponse: …`

  Standard success response returned by mutation endpoints.

  - `success: bool`

    Indicates whether the operation completed successfully.

  - `data: Optional[str]`

    Optional data payload returned by the operation.

  - `message: Optional[str]`

    Human-readable message describing the result.

### Example

```python
import os
from colleqtive_sdk import Colleqtive

client = Colleqtive(
    bearer_token=os.environ.get("COLLEQTIVE_BEARER_TOKEN"),  # This is the default and can be omitted
)
response = client.deliveries.create_store_deliveries(
    store_number="store_number",
)
print(response.success)
```

#### Response

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