Plentymarkets interface documentation
Picklist
Contracts
PickingOrderItemRepositoryContract
The PickingOrderItemRepositoryContract describes methods for fetching one or multiple picking order items.
Namespace
Plenty\Modules\Fulfillment\Picklist\Contracts
Methods
public getAll():Illuminate\Database\Eloquent\Collection
Return type: Collection
public getPickingOrderItemById($pickingOrderItemId):Plenty\Modules\Fulfillment\Picklist\Models\PickingOrderItem
Return type: PickingOrderItem
Name |
Type |
Description |
|
public setPickingOrderItemState($pickingOrderItemId, $state):Plenty\Modules\Fulfillment\Picklist\Models\PickingOrderItem
Return type: PickingOrderItem
Name |
Type |
Description |
|
||
|
Events
GetPickingItemConfig
This event will be triggered, when an item is picked
Namespace
Plenty\Modules\Fulfillment\Picklist\Events
Methods
public getPickingOrderItemId():int
Returns picking order item ID
public getProcessUserId():int
Returns process user ID
public addPluginConfig($identifier, $pluginConfig):Plenty\Modules\Fulfillment\Picklist\Events\GetPickingItemConfig
Return type: GetPickingItemConfig
Add a plugin configuration
Name |
Type |
Description |
|
||
|
public getPluginConfigs():array
Return all plugin configurations
Models
PickingOrder
Represent a picking order
Namespace
Plenty\Modules\Fulfillment\Picklist\Models
Name | Type | Description |
---|---|---|
id |
||
createdAt |
||
processDate |
||
doneDate |
||
ownerId |
||
processUserId |
||
processState |
||
webstoreId |
||
warehouseId |
||
comment |
||
filterOptions |
||
pickingOrderItems |
The picking order items. |
Methods
public toArray()
Returns this model as an array.
PickingOrderItem
Represent a picking order item
Namespace
Plenty\Modules\Fulfillment\Picklist\Models
Name | Type | Description |
---|---|---|
id |
||
pickingOrderId |
||
orderItemId |
||
processState |
||
processDate |
||
processUserId |
||
comment |
||
quantity |
||
itemId |
||
holdingArea |
||
warehouseId |
||
orderIdList |
||
pickingOrder |
The picking order. |
Methods
public toArray()
Returns this model as an array.
Fulfillment
Contracts
ShippingProviderConfigFormContract
Add fields to the shipping provider config form.
Namespace
Plenty\Modules\Fulfillment\Contracts
Methods
public addDateField($dateField):void
Add a shipping provider date field to the config form
Name |
Type |
Description |
|
public addTimeField($timeField):void
Add a shipping provider time field to the config form
Name |
Type |
Description |
|
public addInputField($inputField):void
Add a shipping provider input field to the config form
Name |
Type |
Description |
|
public addCheckboxField($checkboxField):void
Add a shipping provider checkbox field to the config form
Name |
Type |
Description |
|
public addSelectboxField($selectboxField):void
Add a shipping provider selectbox field to the config form
Name |
Type |
Description |
|
public addHyperlinkField($hyperlinkField):void
Add a shipping provider hyperlink field to the config form
Name |
Type |
Description |
|
public getConfigFields():array
Get the list with the config fields
DataModels
DSGVOContactData
The DSGVO contact data model.
Namespace
Plenty\Modules\Fulfillment\DataModels
Name | Type | Description |
---|---|---|
phone |
The contact data phone |
|
The contact data email address |
||
isAlternativeEmail |
The email address is an alternative one, default value is false |
Methods
public toArray()
Returns this model as an array.
Services
DSGVOContactAddressDataService
The DSGVOContactAddressDataService is the service for generating contact address data according to DSGVO settings.
Namespace
Plenty\Modules\Fulfillment\Services
FulfillmentReturnService
The FulfillmentReturnService is the service for return shipments of an order.
Namespace
Plenty\Modules\Fulfillment\Services
FulfillmentShipmentService
The FulfillmentShipmentService is the service for registering and cancelling shipments of an order.
Namespace
Plenty\Modules\Fulfillment\Services
Methods
public resetShipment($orderId):bool
Reset the shipment of the order
Name |
Type |
Description |
|
public cancelShipment($orderId):bool
Cancel the shipment of an order.
Name |
Type |
Description |
|
The ID of the order |
public registerShipment($orderId, $shippingProviderCode = ""):bool
Register the shipment of an order.
Name |
Type |
Description |
|
The ID of the order |
|
|
public getShippingServiceProviders($includePlugins = true):array
List all the active shipping service providers
Name |
Type |
Description |
|
Flag to indicate if the plugin shipping service providers should be included in the list |
GetDhlRetoureOnlineDataService
The GetDhlRetoureOnlineDataService is the service that retrieves old DHL Retoure Online data.
Namespace
Plenty\Modules\Fulfillment\Services
Methods
public getDhlRetoureOnlineData():void
Get all DHL Retoure Online configurations
ShippingProviderConfigFormService
The ShippingProviderConfigFormService is the service for creating the config form for a shipping provider.
Namespace
Plenty\Modules\Fulfillment\Services
Methods
public addDateField($dateField):void
Name |
Type |
Description |
|
public addTimeField($timeField):void
Name |
Type |
Description |
|
public addInputField($inputField):void
Name |
Type |
Description |
|
public addCheckboxField($checkboxField):void
Name |
Type |
Description |
|
public addSelectboxField($selectboxField):void
Name |
Type |
Description |
|
public addHyperlinkField($hyperlinkField):void
Name |
Type |
Description |
|
public getConfigFields():void
VATNumberService
The VATNumberService is the service for providing the correct VAT ID.
Namespace
Plenty\Modules\Fulfillment\Services
Methods
public getVATNumber($orderId):Plenty\Modules\Fulfillment\DataModels\VATNumberData
Return type: VATNumberData
Name |
Type |
Description |
|
DataModels
ConfigForm
CheckboxField
The checkbox field model.
Namespace
Plenty\Modules\Fulfillment\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
name |
The name of the field |
|
label |
The label of the field |
|
value |
The value of the field |
|
type |
The type of the field |
|
isVisible |
The visibility of the form on the config form |
Methods
public toArray()
Returns this model as an array.
DateField
The date field model.
Namespace
Plenty\Modules\Fulfillment\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
name |
The name of the field |
|
label |
The label of the field |
|
value |
The value of the field |
|
type |
The type of the field |
|
isVisible |
The visibility of the form on the config form |
Methods
public toArray()
Returns this model as an array.
FormField
The form field model.
Namespace
Plenty\Modules\Fulfillment\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
name |
The name of the field |
|
label |
The label of the field |
|
value |
The value of the field |
|
type |
The type of the field |
|
isVisible |
The visibility of the form on the config form |
Methods
public toArray()
Returns this model as an array.
HyperlinkField
The hyperlink field model.
Namespace
Plenty\Modules\Fulfillment\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
name |
The name of the field |
|
label |
The label of the field |
|
value |
The value of the field |
|
type |
The type of the field |
|
url |
The url of the field |
|
isVisible |
The visibility of the form on the config form |
Methods
public toArray()
Returns this model as an array.
InputField
The input field model.
Namespace
Plenty\Modules\Fulfillment\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
name |
The name of the field |
|
label |
The label of the field |
|
value |
The value of the field |
|
type |
The type of the field |
|
isVisible |
The visibility of the form on the config form |
Methods
public toArray()
Returns this model as an array.
SelectboxField
The selectbox field model.
Namespace
Plenty\Modules\Fulfillment\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
name |
The name of the field |
|
label |
The label of the field |
|
value |
The value of the field |
|
type |
The type of the field |
|
selectBoxValues |
The selectbox values of the field |
|
isVisible |
The visibility of the form on the config form |
Methods
public toArray()
Returns this model as an array.
SelectboxValue
The selectbox value model.
Namespace
Plenty\Modules\Fulfillment\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
caption |
The name of the field |
|
value |
The label of the field |
|
translateCaption |
The option to translate caption, default value is true |
Methods
public toArray()
Returns this model as an array.
TimeField
The time field model.
Namespace
Plenty\Modules\Fulfillment\DataModels\ConfigForm
Name | Type | Description |
---|---|---|
name |
The name of the field |
|
label |
The label of the field |
|
value |
The value of the field |
|
type |
The type of the field |
|
isVisible |
The visibility of the form on the config form |
Methods
public toArray()
Returns this model as an array.