Product.getPreVerificationStock

Gets all non-zero pre-verification stock quantities.

Request

JSON example:

{
    "api":1,
    "method":"Product.getPreVerificationStock",
    "params":{
        "offset":"0",
        "limit":"10"
    }
}

Request fields:

Field name

Field type

Example value

Description

method

string

"Product.getPreVerificationStock"

Action name

offset

string

0

Offset to begin the fetching from.

limit

string

10

Limit the result set to this quantity.

New mandatory fields

Since 2015.01.22 fields offset and limit are mandatory.

Response

Array of key/value pairs in which the key is the product SKU and the value is the associated pre-verification stock quantity. An empty array is always returned for offsets larger than the whole result set. Only SKUs with non-zero quantity will be returned:

JSON example:

[  
   {  
      "api":1,
      "result":{  
         "YE031AT04LHB-82846":"1",
         "YE031AT04LHB-82847":"2",
         "YE031AT04TZB-44380":"1",
         "YE031AT04TZB-44381":"2",
         "YE031AT05FMC-13113":"2",
         "YE031AT05FMC-13114":"5",
         "YE031AT05FMC-13115":"2",
         "YE031AT05FMC-13116":"1",
         "YE031AT05HVQ-18330":"3",
         "YE031AT05HVQ-18331":"1"
      },
      "id":1
   }
]

Response fields:

Field

Type

Value

Description

result

array

["YE031AT04LHB-82846" => "1", "YE031AT04LHB-82847" => …]

Array containing information about SKU stock status:

  • key = Product SKU;
  • value = stock.

Only Products having stock > 0 are listed