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 Int? NoOfContainers

The number of containers in the delivery.

formatint32
required string OrderNumber

The unique order number.

DateTimeOffset? DatetimeCreated

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

formatdate-time
DateTimeOffset DatetimeExpected

The expected delivery datetime.

formatdate-time
string? Description

A description of the delivery order.

IReadOnlyList<OrderLine>? OrderLines

The order lines in this delivery.

required string ProductNumber

The product number.

required Double Quantity

The quantity being delivered.

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

Int LineNumber

The order line number.

formatint32
Double? PurchasePrice

The purchase price per unit.

formatdouble
Int? SecondaryOrderLineNumber

The line number on the secondary order.

formatint32
string? SecondaryOrderNumber

A secondary/external order number.

Int TargetStockPool

The target stock pool for the delivered goods.

formatint32
Int OrderType

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

formatint32
Int? ReasonCode

The reason code for the delivery.

formatint32
Long? StoreOrigin

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

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

string? Data

Optional data payload returned by the operation.

string? Message

Human-readable message describing the result.

Boolean Success

Indicates whether the operation completed successfully.

Creates delivery orders for a specific store.

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

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

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