/
Stock

Stock

Allow to receive the stock by the providers


Information

It gives the live availability’s of books.

Example

https://wsmedia.tlsecure.com/api/json/00000/product/stock/1?ean=5065000582135,886971607925

Request

The parameter {ean} can be separate by a coma to get many ean in the same WebService Example:https://wsmedia.tlsecure.com/api/json/0/product/stock/1?ean=9789065391124,9789025752095,9789089982087

Parameters

Location

Type

Required

Default

Accepted

Parameters

Location

Type

Required

Default

Accepted

ean

Query

String

v

 

 

idProvider

Path

Integer

v

 

Stock Provider

Stock provider

CB: 1
Gardners: 2
Craenen: 3
Ingram: 4

Response

Variables

Description

Mapping

Variables

Description

Mapping

productId

ISBN-13

 

productIdType

Type of product

  • 1 : AVAILAIBLE

  • 2 : AVAILAIBLE_24H

  • 3 : AVAILAIBLE_48H

quantityAvailable24hrs

Availability of stock in 24h

 

quantityAvailable48hrs

Availability of stock in 48h

 

Success

{ "response": { "success": true, "code": 0, "message": "product retrieved", "object": { "stockAvailabilities": { "stockAvailability": [{ "productId": 9789025307035, "productIdType": "EAN", "quantity": [{ "type": 2, "quantity": 546 }, { "type": 3, "quantity": 699 }] }] } } } }

 

Related content