christian71-stack/kaufland-php-client

A PHP Client for the Kaufland API

1.0.1 2024-04-03 09:38 UTC

This package is not auto-updated.

Last update: 2024-05-29 12:13:46 UTC


README

stability-wip GitHub release (latest by date including pre-releases) MIT License Maintenance

STILL WORK IN PROGRESS

Fork of the ProductFlows

kaufland-php-client

An unofficial client for the Kaufland/Real.de API.

Installation

This project can easily be installed through Composer.

composer require christian71-stack/kaufland-php-client

Set-up connection

Prepare the client for connecting to Kaufland with your client key and secret key.

$kaufland = new \ProductFlow\KauflandPhpClient\Kaufland(
    $clientkey,
    $secretkey,
    (new Locale())->set(Locale::CS_CZ),         // optional
    (new Storefront())->set(Storefront::CZ))    // optional
    new Client(...)                             // optional
);

Get all order-units

Returns an array of order-units

$order_lists = $kaufland->orderUnit()->list();

Supported endpoints (still being added)

✅ = Done, and tested
☑️ = Done, but not yet tested
❌ = Not yet developed
❗ = deprecated/not supported

Endpoint Status
attributes ☑️
carriers
categories
import-files ☑️
infos
items ☑️
product-data
orders
order-invoices
order-units
products
shipments
reports ☑️
returns ☑️
return-units ☑️
shipping-groups ☑️
status
subscriptions ☑️
ticket-messages ☑️
tickets ☑️
warehouses ☑️
units