Logidav Docs

BigbuyApi
in package

Table of Contents

Properties

$apiKey  : string
$langCodes  : array<string|int, mixed>
$sandboxUrl  : mixed
$url  : string

Methods

__construct()  : mixed
BigbuyApi constructor.
getCategories()  : mixed
getCatgoriesTree()  : mixed
getOrderTrackings()  : array<string|int, mixed>|bool|mixed|null|ResponseInterface
Get Order tracking
getProduct()  : mixed
getProducts()  : mixed
getProductsInformation()  : mixed
getProductsInformationAllLanguages()  : mixed
getProductsStock()  : mixed
getShippingRatePerQty()  : array<string|int, mixed>|bool|mixed|null|ResponseInterface
sendOrder()  : array<string|int, mixed>|bool|mixed|null|ResponseInterface
convertToTree()  : mixed
execute()  : mixed|null|array<string|int, mixed>|bool

Properties

$langCodes

protected array<string|int, mixed> $langCodes

$sandboxUrl

protected mixed $sandboxUrl = 'https://api.sandbox.bigbuy.eu'

$url

protected string $url = 'https://api.bigbuy.eu'

Methods

__construct()

BigbuyApi constructor.

public __construct(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

getCategories()

public getCategories([string $isoCode = 'fr' ]) : mixed
Parameters
$isoCode : string = 'fr'

getCatgoriesTree()

public getCatgoriesTree() : mixed

getOrderTrackings()

Get Order tracking

public getOrderTrackings(string $orderId) : array<string|int, mixed>|bool|mixed|null|ResponseInterface
Parameters
$orderId : string
Return values
array<string|int, mixed>|bool|mixed|null|ResponseInterface

getProduct()

public getProduct(int $id[, string $isoCode = 'fr' ]) : mixed
Parameters
$id : int
$isoCode : string = 'fr'

getProducts()

public getProducts([int $page = 0 ][, int $pageSize = 0 ]) : mixed
Parameters
$page : int = 0
$pageSize : int = 0

getProductsInformation()

public getProductsInformation([string $isoCode = 'fr' ]) : mixed
Parameters
$isoCode : string = 'fr'

getProductsInformationAllLanguages()

public getProductsInformationAllLanguages(mixed $productId) : mixed
Parameters
$productId : mixed

getProductsStock()

public getProductsStock([int $page = 0 ][, int $pageSize = 0 ]) : mixed
Parameters
$page : int = 0
$pageSize : int = 0

getShippingRatePerQty()

public getShippingRatePerQty(array<string|int, mixed> $body) : array<string|int, mixed>|bool|mixed|null|ResponseInterface
Parameters
$body : array<string|int, mixed>
Return values
array<string|int, mixed>|bool|mixed|null|ResponseInterface

sendOrder()

public sendOrder(array<string|int, mixed> $body) : array<string|int, mixed>|bool|mixed|null|ResponseInterface
Parameters
$body : array<string|int, mixed>
Return values
array<string|int, mixed>|bool|mixed|null|ResponseInterface

convertToTree()

protected convertToTree(array<string|int, mixed> $flat, mixed $pidKey[, null $idKey = null ]) : mixed
Parameters
$flat : array<string|int, mixed>
$pidKey : mixed
$idKey : null = null

execute()

protected execute(mixed $requestType, mixed $endpoint[, array<string|int, mixed> $body = [] ][, array<string|int, mixed> $headers = [] ][, mixed $getResponseObject = false ]) : mixed|null|array<string|int, mixed>|bool
Parameters
$requestType : mixed
$endpoint : mixed
$body : array<string|int, mixed> = []
$headers : array<string|int, mixed> = []
$getResponseObject : mixed = false
Return values
mixed|null|array<string|int, mixed>|bool

        
On this page

Search results