2017 © Pedro Peláez
 

library stock-api

The StockApi module provides a REST API for simple product stock updates.

image

fond-of-spryker/stock-api

The StockApi module provides a REST API for simple product stock updates.

  • Tuesday, June 5, 2018
  • by daniel-rose
  • Repository
  • 2 Watchers
  • 1 Stars
  • 400 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 75 % Grown

The README.md

Stock API Module

Build Status PHP from Travis config license, (*1)

The StockApi module provides a REST API for simple product stock updates., (*2)

Installation

composer require fond-of-spryker/stock-api

API

Update stock of a concrete product. quantity and stock_type are mandatory fields., (*3)

PATCH /api/rest/stocks/{sku}
Example
curl -X PATCH "http://zed.yourdomain.com/api/rest/stocks/{sku}" \
     -H 'Content-Type: application/json' \
     -d $'{
          "data": {
            "quantity": 10,
            "stock_type": "Warehouse1",
            "is_never_out_of_stock": true            
          }
     }'

The Versions

05/06 2018

dev-master

9999999-dev

The StockApi module provides a REST API for simple product stock updates.

  Sources   Download

MIT

The Requires

  • php >=7.1
  • spryker/api ^0.1
  • spryker/api-query-builder ^0.1
  • spryker/kernel ^3.0.0
  • spryker/stock ^4.0.0

 

The Development Requires

by Marcello Muscara

05/06 2018

1.0.0

1.0.0.0

The StockApi module provides a REST API for simple product stock updates.

  Sources   Download

MIT

The Requires

  • php >=7.1
  • spryker/api ^0.1
  • spryker/api-query-builder ^0.1
  • spryker/kernel ^3.0.0
  • spryker/stock ^4.0.0

 

The Development Requires

by Marcello Muscara

23/05 2018

dev-development/fixes-for-spryker-suite

dev-development/fixes-for-spryker-suite

The StockApi module provides a REST API for simple product stock updates.

  Sources   Download

MIT

The Requires

  • php >=7.1
  • spryker/api ^0.1
  • spryker/api-query-builder ^0.1
  • spryker/kernel ^3.0.0
  • spryker/stock ^5.0.0

 

The Development Requires

by Marcello Muscara

04/05 2018

dev-feature/stock-api

dev-feature/stock-api

The StockApi module provides a REST API for simple product stock updates.

  Sources   Download

MIT

The Requires

  • php >=7.1
  • spryker/api ^0.1
  • spryker/api-query-builder ^0.1
  • spryker/kernel ^3.0.0
  • spryker/stock ^4.0.0

 

The Development Requires

by Marcello Muscara

04/05 2018

1.0.0-RC1

1.0.0.0-RC1

The StockApi module provides a REST API for simple product stock updates.

  Sources   Download

MIT

The Requires

  • php >=7.1
  • spryker/api ^0.1
  • spryker/api-query-builder ^0.1
  • spryker/kernel ^3.0.0
  • spryker/stock ^4.0.0

 

The Development Requires

by Marcello Muscara