Plentymarkets interface documentation

Amazon

Contracts

AmazonClient

The amazon client

Deprecated!

This interface is based on the MWS API which will be deprecated in steps from 31.07.2022 till 31.12.2022. We will not provide a new interface for the SP-API.

Namespace

Plenty\Modules\Amazon\Contracts

Methods
public sendRequest($request, $serviceVersion):Plenty\Modules\Amazon\Contracts\AmazonClientResponse
Return type: AmazonClientResponse
Parameters

Name

Type

Description

$request

AmazonClientRequest

$serviceVersion

string

AmazonClientFactory

Deprecated!

This interface is based on the MWS API which will be deprecated in steps from 31.07.2022 till 31.12.2022. We will not provide a new interface for the SP-API.

Namespace

Plenty\Modules\Amazon\Contracts

Methods
public getClient($accountId, $endpointPath):Plenty\Modules\Amazon\Contracts\AmazonClient
Return type: AmazonClient
Parameters

Name

Type

Description

$accountId

int

$endpointPath

string

AmazonClientRequest

Deprecated!

This interface is based on the MWS API which will be deprecated in steps from 31.07.2022 till 31.12.2022. We will not provide a new interface for the SP-API.

Namespace

Plenty\Modules\Amazon\Contracts

Methods
public getRequestData():array
public requiresSellerId():bool
public getSellerIdFieldName():string
public getAction():string

AmazonClientRequestPayload

Deprecated!

This interface is based on the MWS API which will be deprecated in steps from 31.07.2022 till 31.12.2022. We will not provide a new interface for the SP-API.

Namespace

Plenty\Modules\Amazon\Contracts

Methods
public getPayload():void

AmazonClientResponse

Deprecated!

This interface is based on the MWS API which will be deprecated in steps from 31.07.2022 till 31.12.2022. We will not provide a new interface for the SP-API.

Namespace

Plenty\Modules\Amazon\Contracts

Methods
public getResponseContent():void
public getResponseMetaData():array

AmazonFulfillmentCenterRepositoryContract

AmazonFulfillmentCenterRepository

Namespace

Plenty\Modules\Amazon\Contracts

Methods
public getDeliveryAddresses():array

Lists amazon fulfilment centers delivery addresses.

public getDeliveryAddressByFulfillmentCenterId($amazonFulfillmentCenterId):Plenty\Modules\Account\Address\Models\Address
Return type: Address

Get the delivery address by fulfillment center ID.

Parameters

Name

Type

Description

$amazonFulfillmentCenterId

string

public getDeliveryAddressByGLN($GLN):Plenty\Modules\Account\Address\Models\Address
Return type: Address

Get the delivery address by GLN.

Parameters

Name

Type

Description

$GLN

string

public getInvoiceAddressByGLN($GLN):Plenty\Modules\Account\Address\Models\Address
Return type: Address

Get the invoice address by GLN.

Parameters

Name

Type

Description

$GLN

string

public getContactId():int

Exceptions

AmazonClientException

Created by ptopczewski, 01.02.18 11:41 Class AmazonClientException

Namespace

Plenty\Modules\Amazon\Exceptions

AmazonClientRequestException

Created by ptopczewski, 07.02.18 10:34 Class AmazonClientRequestException

Namespace

Plenty\Modules\Amazon\Exceptions

Methods
public getType():string
public getRequestId():string
public getErrorCode():string