Skip to content
Get started

Create Multi Store Deliveries

DeliveryCreateMultiStoreDeliveriesResponse Deliveries.CreateMultiStoreDeliveries(DeliveryCreateMultiStoreDeliveriesParams?parameters, CancellationTokencancellationToken = default)
POST/api/v2/public/orders/deliveries

Same as the single-store delivery endpoint, but each order names its own destination store. Use it to announce a delivery run for several stores in one call.

ParametersExpand Collapse
DeliveryCreateMultiStoreDeliveriesParams parameters
IReadOnlyList<Order>? orders

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

required Int NoOfContainers

The number of containers.

formatint32
required string OrderNumber

The unique order number.

minLength1
required string StoreNumber

The target store number.

minLength1
required string SupplierName

The name of the supplier.

minLength1
DateTimeOffset? DatetimeCreated

The datetime the order was created.

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

The product number.

string? Reference

The reference for the delivery order line.

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.

formatint32
Int? ReasonCode

The reason code for the delivery.

formatint32
string? Reference

The reference for the delivery order.

string? SupplierCode

The unique supplier code.

string? TracingUrl

URL for tracking the delivery shipment.

Boolean containerOverride

Header param: When true, overrides container validation.

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

Create Multi Store Deliveries

DeliveryCreateMultiStoreDeliveriesParams parameters = new();

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

Console.WriteLine(response);
{
  "success": true,
  "data": "data",
  "message": "message"
}
{
  "code": 401,
  "status": "error",
  "message": "Authentication failed.",
  "error": "unauthorized",
  "error_description": "Authentication failed."
}
{
  "code": 500,
  "status": "fail",
  "message": "The request could not be processed.",
  "error": "internal_error",
  "error_description": "The request could not be processed."
}
Returns Examples
{
  "success": true,
  "data": "data",
  "message": "message"
}
{
  "code": 401,
  "status": "error",
  "message": "Authentication failed.",
  "error": "unauthorized",
  "error_description": "Authentication failed."
}
{
  "code": 500,
  "status": "fail",
  "message": "The request could not be processed.",
  "error": "internal_error",
  "error_description": "The request could not be processed."
}