sanmar_sdk.standard.pricing =========================== .. py:module:: sanmar_sdk.standard.pricing .. autoapi-nested-parse:: SanMar's own pricing service. Prices a style (every size and color of it), a style narrowed to a catalog color or a size, or one style, color and size by its inventory key and size index, including the price for this account specifically. Classes ------- .. autoapisummary:: sanmar_sdk.standard.pricing.PriceQuote sanmar_sdk.standard.pricing.PricingService Module Contents --------------- .. py:class:: PriceQuote(/, **data: Any) Bases: :py:obj:`sanmar_sdk.base.Record` The prices of one style, color and size. .. py:attribute:: style :type: str .. py:attribute:: catalog_color :type: str :value: None The catalog (mainframe) color, which web services and orders expect. .. py:attribute:: size :type: str .. py:attribute:: inventory_key :type: int :value: None .. py:attribute:: size_index :type: int :value: None .. py:attribute:: piece_price :type: sanmar_sdk.base.Price :value: None The price per piece for five pieces or fewer of one style and color. .. py:attribute:: case_price :type: sanmar_sdk.base.Price :value: None The price per piece when buying by the case. .. py:attribute:: sale_price :type: sanmar_sdk.base.Price :value: None .. py:attribute:: sale_start_date :type: sanmar_sdk.base.SanMarDate | None :value: None .. py:attribute:: sale_end_date :type: sanmar_sdk.base.SanMarDate | None :value: None .. py:attribute:: my_price :type: sanmar_sdk.base.Price :value: None This account's price. .. py:attribute:: incentive_price :type: sanmar_sdk.base.Price :value: None .. py:class:: PricingService(soap: SoapClient, credentials: Credentials) Bases: :py:obj:`sanmar_sdk._soap.Service` SanMar's own pricing service. .. py:method:: get(style: str, *, catalog_color: str | None = None, size: str | None = None) -> list[PriceQuote] Price a style, optionally narrowed to one catalog color, one size, or both. .. py:method:: get_by_key(key: sanmar_sdk.common.SkuKey) -> list[PriceQuote] Price one style, color and size by its inventory key and size index. .. py:method:: get_many(queries: collections.abc.Sequence[sanmar_sdk.common.StyleQuery | sanmar_sdk.common.SkuKey]) -> list[PriceQuote] Price several lookups in one call.