2131 API Get

Introduction

The purpose of this service is to return per product stock quantities for an account.

URL parameters

None

Example

http://<pathtoapi>/service/WhStkPd

Request Headers

Key

Details

Required

Key

Details

Required

CustomerCode

The customer code of your account

Mandatory

SiteCode

The site code your account's located at

Mandatory

ProductCode

Return rotations belonging to this product code

Optional

Response

Sample
<WhStkPd> <P> <PC>101257619000101000</PC> <TS>120</TS> <SC>12</SC> </P> <P> <PC>182056818520600750</PC> <TS>12</TS> <SC>12</SC> </P> </WhStkPd>

XML Element

Definition

Length

Notes

XML Element

Definition

Length

Notes

PC

Product Code

50

 

TS

Total singles

6

A total amount in single items, including stocks which are currently frozen.

For available stock consider using 2132 API Get instead.

SC

Singles per case

5



Response Codes  

Common response codes

Copyright Ontech Solutions 2017-2024. All rights reserved, no part may be replicated or distributed without the express permission of the owner.