Documentation

create

\Bitrix\Sale\Order public static
\Bitrix\Sale\OrderBase::create(
	$siteId,
	null $userId = null,
	null $currency = null
);

Method creates an order object. Static method.

Parameters

ParameterDescriptionVersion
$siteIdSite ID.
$userIdUser ID. Default value null. Optional.
$currencyCurrency. Default value null. Optional.

Example



© «Bitrix24», 2001-2022
Up