What one supplier reports about one stock item.
A record exists only for a stock item the supplier has been mapped to, which is why the
availability answer is sparse: ask about an item this supplier does not carry and no record comes
back for it. Named stockSupplierAvailability as a record of the paged envelope.
| Name | Type | Description | |
|---|---|---|---|
id
|
number
|
Unique numeric identifier of the supplier-to-stock-item mapping this record reports on. | |
supplierId
|
number
|
The supplier this availability comes from. | |
stockId
|
number
|
The stock item the availability is for - the stockId of a product SKU.
|
|
supplierPlu
|
string
|
The supplier's own article number for this stock item. | |
availableInStock
|
number
|
Units the supplier reports as on hand now. | |
shortlyInStock
|
number
|
Units the supplier reports as arriving soon; 0 when the supplier's feed carries no such level. | |
longerInStock
|
number
|
Units the supplier reports as arriving later than shortlyInStock; 0 when the
supplier's feed carries no such level.
|
{
"stockSupplierAvailability" : {
"id" : 12345,
"supplierId" : 12345,
"stockId" : 12345,
"supplierPlu" : "...",
"availableInStock" : 12345,
"shortlyInStock" : 12345,
"longerInStock" : 12345
}
}
What one supplier reports about one stock item.
A record exists only for a stock item the supplier has been mapped to, which is why the
availability answer is sparse: ask about an item this supplier does not carry and no record comes
back for it. Named stockSupplierAvailability as a record of the paged envelope.
| Name | Type | Description | |
|---|---|---|---|
availableInStock
|
int
|
Units the supplier reports as on hand now. | |
id
|
int
|
Unique numeric identifier of the supplier-to-stock-item mapping this record reports on. | |
longerInStock
|
int
|
Units the supplier reports as arriving later than shortlyInStock; 0 when the
supplier's feed carries no such level.
|
|
shortlyInStock
|
int
|
Units the supplier reports as arriving soon; 0 when the supplier's feed carries no such level. | |
stockId
|
int
|
The stock item the availability is for - the stockId of a product SKU.
|
|
supplierId
|
int
|
The supplier this availability comes from. | |
supplierPlu
|
string
|
The supplier's own article number for this stock item. |
<stockSupplierAvailability>
<id>...</id>
<supplierId>...</supplierId>
<stockId>...</stockId>
<supplierPlu>...</supplierPlu>
<availableInStock>...</availableInStock>
<shortlyInStock>...</shortlyInStock>
<longerInStock>...</longerInStock>
</stockSupplierAvailability>