Bitrix API

ProductService

Service for working with product of shipment.

Table of Contents

Methods

__construct()  : mixed
getShippedQuantityByEntity()  : array<string|int, mixed>
Get products added in shipments with quantity.
getShippedQuantityByRowBasketMap()  : array<string|int, mixed>
Get products added in shipments with quantity.

Methods

getShippedQuantityByEntity()

Get products added in shipments with quantity.

public getShippedQuantityByEntity(string $ownerTypeId, int $ownerId[, bool $onlyDeducted = true ]) : array<string|int, mixed>
Parameters
$ownerTypeId : string
$ownerId : int
$onlyDeducted : bool = true

if TRUE - return only deducted rows

Return values
array<string|int, mixed>

in format ['rowId' => 'quantity']

getShippedQuantityByRowBasketMap()

Get products added in shipments with quantity.

public getShippedQuantityByRowBasketMap(array<string|int, mixed> $productRow2basket[, bool $onlyDeducted = true ]) : array<string|int, mixed>
Parameters
$productRow2basket : array<string|int, mixed>

in format [rowId => basketId]

$onlyDeducted : bool = true
Return values
array<string|int, mixed>

in format `[rowId => shippedQuantity]


        
On this page

Search results