orderdaily/php-api

This package is abandoned and no longer maintained. No replacement package was suggested.

Orderdaily PHP API package

1.1.0 2021-09-19 13:30 UTC

This package is auto-updated.

Last update: 2023-03-19 17:31:26 UTC


README

Source Code Read License

The Orderdaily API is used for communicating and synchronising your system with Orderdaily. This can be simply done with this library.

Requirements:

Installation:

Composer:

We recommend using composer. When composer is installed, execute the following command in your project folder:

composer require orderdaily/php-api^1.1.0

And be sure to include the composer autoload in your project.

Example usage:

$client = new \Orderdaily\Client();
$client->set_application_name("ApplicationName");
$client->set_main_api_key("Enter Orderdaily Main API Key");
$client->set_partner_api_key("Orderdaily Partner API Key");

$orders = $client->get_shop_orders(5);

API Authentication:

There are 2 API endpoints build into this library.

  1. Orderdaily API - Used by Orderdaily developers for synchronisation development. An API key is sent to you by Orderdaily.
  2. Orderdaily Partner API - Used by Partners for forwarding orders to the Orderdaily bikers. An API key is sent to you by Orderdaily.