sanmar_sdk.standard.pricing

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

PriceQuote

The prices of one style, color and size.

PricingService

SanMar's own pricing service.

Module Contents

class sanmar_sdk.standard.pricing.PriceQuote(/, **data: Any)[source]

Bases: sanmar_sdk.base.Record

The prices of one style, color and size.

style: str[source]
catalog_color: str = None[source]

The catalog (mainframe) color, which web services and orders expect.

size: str[source]
inventory_key: int = None[source]
size_index: int = None[source]
piece_price: sanmar_sdk.base.Price = None[source]

The price per piece for five pieces or fewer of one style and color.

case_price: sanmar_sdk.base.Price = None[source]

The price per piece when buying by the case.

sale_price: sanmar_sdk.base.Price = None[source]
sale_start_date: sanmar_sdk.base.SanMarDate | None = None[source]
sale_end_date: sanmar_sdk.base.SanMarDate | None = None[source]
my_price: sanmar_sdk.base.Price = None[source]

This account’s price.

incentive_price: sanmar_sdk.base.Price = None[source]
class sanmar_sdk.standard.pricing.PricingService(soap: SoapClient, credentials: Credentials)[source]

Bases: sanmar_sdk._soap.Service

SanMar’s own pricing service.

get(style: str, *, catalog_color: str | None = None, size: str | None = None) → list[PriceQuote][source]

Price a style, optionally narrowed to one catalog color, one size, or both.

get_by_key(key: sanmar_sdk.common.SkuKey) → list[PriceQuote][source]

Price one style, color and size by its inventory key and size index.

get_many(queries: collections.abc.Sequence[sanmar_sdk.common.StyleQuery | sanmar_sdk.common.SkuKey]) → list[PriceQuote][source]

Price several lookups in one call.