Skip to content
Get started

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.

ParametersExpand Collapse
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.

formatdate-time
required Int NoOfContainers

The number of containers in the delivery.

formatint32
required string OrderNumber

The unique order number.

minLength1
required Int OrderType

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

formatint32
DateTimeOffset? DatetimeCreated

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

formatdate-time
string? Description

A description of the delivery order.

IReadOnlyList<OrderLine>? OrderLines

The order lines in this delivery.

required Int LineNumber

The order line number.

formatint32
required string ProductNumber

The product number.

minLength1
required Double Quantity

The quantity being delivered.

formatdouble
required Int TargetStockPool

The target stock pool for the delivered goods.

formatint32
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.

formatint32
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.

formatint32
string? Description

A description of the order line.

Double? OrderedQuantity

The originally ordered quantity.

formatdouble
string? ProductDescription

A description of the product.

Double? PurchasePrice

The purchase price per unit.

formatdouble
string? Reference

An external reference for the order line.

Int? SecondaryOrderLineNumber

The line number on the secondary order.

formatint32
string? SecondaryOrderNumber

A secondary/external order number.

Int? ReasonCode

The reason code for the delivery.

formatint32
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.

ReturnsExpand Collapse
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.

Creates delivery orders for a specific store.

DeliveryCreateStoreDeliveriesParams parameters = new()
{
    StoreNumber = "store_number"
};

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

Console.WriteLine(response);
{
  "success": true,
  "data": "data",
  "message": "message"
}
Returns Examples
{
  "success": true,
  "data": "data",
  "message": "message"
}