sanmar_sdk.standard.inventory¶
SanMar’s own inventory service.
Reports stock by warehouse for a style, optionally narrowed to a catalog color or a size.
SanMar caps the quantity it reports per warehouse, and asks that this service be used for
a handful of items at a time; for anything more frequent than a live check at ordering
time, it recommends sanmar_dip.txt or the PromoStandards inventory service.
SanMar answers a lookup by style and color, style and size, or style alone with each size and warehouse named, but answers a lookup by style, color and size with bare numbers in an order it does not state. This service therefore never sends all three: given a color and a size, it asks for the color and keeps the matching size itself.
Classes¶
Stock of one style, color and size at one warehouse. |
|
Stock of one style, color and size, warehouse by warehouse. |
|
SanMar's own inventory service. |
Module Contents¶
- class sanmar_sdk.standard.inventory.WarehouseStock(/, **data: Any)[source]¶
Bases:
sanmar_sdk.base.RecordStock of one style, color and size at one warehouse.
- warehouse: sanmar_sdk.common.WarehouseNumber = None[source]¶
- class sanmar_sdk.standard.inventory.SkuStock(/, **data: Any)[source]¶
Bases:
sanmar_sdk.base.RecordStock of one style, color and size, warehouse by warehouse.
- catalog_color: str = None[source]¶
The catalog (mainframe) color, which web services and orders expect.
- warehouses: sanmar_sdk.base.OneOrMany[WarehouseStock] = None[source]¶
- class sanmar_sdk.standard.inventory.InventoryService(soap: SoapClient, credentials: Credentials)[source]¶
Bases:
sanmar_sdk._soap.ServiceSanMar’s own inventory service.