Plentymarkets interface documentation

Stock

Contracts

InternalStockReceiptMainContract

This interface allows you to get stock receipt mains.

Namespace

Plenty\Modules\Stock\Contracts

Methods
public get($id, $with = []):Plenty\Modules\Stock\Models\StockReceiptMain
Return type: StockReceiptMain

Gets a stock receipt main. The receipt ID must be specified.

Parameters

Name

Type

Description

$id

int

$with

array

Models

StockReceipt

The stock receipt model.

Namespace

Plenty\Modules\Stock\Models

Properties
Name Type Description

id

int

The ID of the stock receipt

receiptId

int

itemId

int

articleNo

string

name

string

num

float

inStock

float

price

float

priceId

int

attributeValueSetId

int

warehouseId

int

attributeSelection

string

position

string

externalItemId

int

updatedAt

storageLocationId

int

variationId

int

batchBestBeforeDateId

int

receiptMain

StockReceiptMain

variation

Variation

batchBestBeforeDate

StockBatchBestBeforeDate

warehouse

Warehouse

warehouseLocation

WarehouseLocation

Methods
public toArray()

Returns this model as an array.

StockReceiptMain

The stock receipt main model.

Namespace

Plenty\Modules\Stock\Models

Properties
Name Type Description

receiptId

int

dealerId

int

orderNo

string

arrival

string

currency

string

exchangeRatio

float

createdAt

receipts

array

Methods
public toArray()

Returns this model as an array.