PHP library for ready2order POS API v1

1.2 2020-10-22 15:08 UTC

This package is auto-updated.

Last update: 2022-11-22 19:19:17 UTC


ready2order PHP API v1 is a PHP-wrapper for simply using ready2order API

Get started

  • Make sure you register as a developer first here to obtain your "Developer Token"
  • Use the developer token you received to request access to existing accounts to obtain the "Account Token"
  • Use the "Account Token" for your API requests


You can install this package with composer

composer require ready2order/r2o-api-client-php


Fetch account information

use \ready2order\Client;

$client = new Client('your-token');

Insert new product group with one product

use \ready2order\Client;

$client = new Client('your-token');

// Insert a new productgroup
$productGroup = $client->put('productgroups',array(
    "productgroup_name" => "Soft drinks"

// Insert product
$product = $client->put('products',array(
        "product_name" => "Cupcake",
        "product_price" => "5.2",
        "product_vat" => "20",
        "productgroup" => array(
            "productgroup_id" => $productGroup["productgroup_id"]