olist/olist-api-client-php

Name: olist-api-client-php

Owner: Olist

Description: null

Created: 2017-06-20 14:32:44.0

Updated: 2017-10-30 13:40:19.0

Pushed: 2017-06-20 14:58:22.0

Homepage: null

Size: 57

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SwaggerClient-php

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This PHP package is automatically generated by the Swagger Codegen project:

Requirements

PHP 5.4.0 and later

Installation & Usage
Composer

To install the bindings via Composer, add the following to composer.json:


epositories": [
{
  "type": "git",
  "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}

equire": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"


Then run composer install

Manual Installation

Download the files and include autoload.php:

require_once('/path/to/SwaggerClient-php/autoload.php');
Tests

To run the unit tests:

oser install
ndor/bin/phpunit
Getting Started

Please follow the installation procedure and then run the following:

p
ire_once(__DIR__ . '/vendor/autoload.php');

_instance = new Swagger\Client\Api\DefaultApi();
horization = "authorization_example"; // string | 
it = "limit_example"; // string | 
ering = "ordering_example"; // string | 
rch = "search_example"; // string | 
set = "offset_example"; // string | 

{
$api_instance->itemsBySkuList($authorization, $limit, $ordering, $search, $offset);
tch (Exception $e) {
echo 'Exception when calling DefaultApi->itemsBySkuList: ', $e->getMessage(), PHP_EOL;



Documentation for API Endpoints

All URIs are relative to https://api.olist.com/v1

Class | Method | HTTP request | Description ———— | ————- | ————- | ————- DefaultApi | itemsBySkuList | GET /items-by-sku | DefaultApi | productGroupsCreate | POST /product-groups | DefaultApi | productGroupsDelete | DELETE /product-groups/{id} | DefaultApi | productGroupsList | GET /product-groups | DefaultApi | productGroupsPartialUpdate | PATCH /product-groups/{id} | DefaultApi | productGroupsRead | GET /product-groups/{id} | DefaultApi | productGroupsUpdate | PUT /product-groups/{id} | DefaultApi | productsCreate | POST /template/products | DefaultApi | productsDelete | DELETE /template/products/{gtin} | DefaultApi | productsList | GET /template/products | DefaultApi | productsPartialUpdate | PATCH /template/products/{gtin} | DefaultApi | productsRead | GET /template/products/{gtin} | DefaultApi | productsUpdate | PUT /template/products/{gtin} | DefaultApi | sellerOrdersCreate | POST /seller-orders | DefaultApi | sellerOrdersDelete | DELETE /seller-orders/{code} | DefaultApi | sellerOrdersItemsList | GET /seller-orders-items | DefaultApi | sellerOrdersItemsRead | GET /seller-orders-items/{id} | DefaultApi | sellerOrdersList | GET /seller-orders | DefaultApi | sellerOrdersPartialUpdate | PATCH /seller-orders/{code} | DefaultApi | sellerOrdersRead | GET /seller-orders/{code} | DefaultApi | sellerOrdersShipment | PUT /seller-orders/{code}/shipment | DefaultApi | sellerOrdersUpdate | PUT /seller-orders/{code} | DefaultApi | sellerProductsCreate | POST /seller-products | DefaultApi | sellerProductsDelete | DELETE /seller-products/{sku} | DefaultApi | sellerProductsHistoryList | GET /seller-products-history | DefaultApi | sellerProductsHistoryRead | GET /seller-products-history/{seller_product_sku} | DefaultApi | sellerProductsList | GET /seller-products | DefaultApi | sellerProductsPartialUpdate | PATCH /seller-products/{sku} | DefaultApi | sellerProductsRead | GET /seller-products/{sku} | DefaultApi | sellerProductsUpdate | PUT /seller-products/{sku} | DefaultApi | sellersCreate | POST /sellers | DefaultApi | sellersDelete | DELETE /sellers/{id} | DefaultApi | sellersList | GET /sellers | DefaultApi | sellersPartialUpdate | PATCH /sellers/{id} | DefaultApi | sellersRead | GET /sellers/{id} | DefaultApi | sellersUpdate | PUT /sellers/{id} | DefaultApi | statsRead | GET /stats/orders/{seller_id} | DefaultApi | statsRead_0 | GET /_stats/products/{seller_id} | DefaultApi | usersCreate | POST /users | DefaultApi | usersDelete | DELETE /users/{id} | DefaultApi | usersList | GET /users | DefaultApi | usersPartialUpdate | PATCH /users/{id} | DefaultApi | usersRead | GET /users/{id} | DefaultApi | usersUpdate | PUT /users/{id} |

Documentation For Models
Documentation For Authorization

All endpoints do not require authorization.

Author

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.