sanmar_sdk.standard.packing_slips

SanMar’s packing slip (license plate number) service.

Every box SanMar ships has a license plate number barcode at the bottom of its shipping label. Scanning it and looking it up here says what is in the box, and which order it belongs to. A decorator receiving boxes for someone else can look them up with its own login as long as the box was shipped to the decorator’s own address.

Attributes

Classes

PackingSlipAddress

A postal address on a packing slip.

PackingSlipParty

Who a box ships from, ships to, or is billed to.

PackingSlipItem

One item in a box.

PackingSlip

What is in one box SanMar shipped.

PackingSlipService

SanMar's packing slip service.

Module Contents

sanmar_sdk.standard.packing_slips.WS_VERSION = '1.0.0'[source]
class sanmar_sdk.standard.packing_slips.PackingSlipAddress(/, **data: Any)[source]

Bases: sanmar_sdk.base.Record

A postal address on a packing slip.

line1: str | None = None[source]
line2: str | None = None[source]
line3: str | None = None[source]
city: str | None = None[source]
state: str | None = None[source]
postal_code: str | None = None[source]
country: str | None = None[source]
residential: bool | None = None[source]
class sanmar_sdk.standard.packing_slips.PackingSlipParty(/, **data: Any)[source]

Bases: sanmar_sdk.base.Record

Who a box ships from, ships to, or is billed to.

name: str | None = None[source]
address: PackingSlipAddress = None[source]
contact_name: str | None = None[source]
class sanmar_sdk.standard.packing_slips.PackingSlipItem(/, **data: Any)[source]

Bases: sanmar_sdk.base.Record

One item in a box.

unique_key: str | None = None[source]

SanMar’s identifier for this style, color and size.

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

The color as SanMar’s warehouse records it, which is the catalog (mainframe) color.

size: str | None = None[source]
description: str | None = None[source]
quantity: int = None[source]
gtin: str | None = None[source]
class sanmar_sdk.standard.packing_slips.PackingSlip(/, **data: Any)[source]

Bases: sanmar_sdk.base.Record

What is in one box SanMar shipped.

license_plate: str = None[source]
ship_date: sanmar_sdk.base.SanMarDate | None = None[source]
box_number: int | None = None[source]

Which box of the shipment this is.

box_count: int | None = None[source]

How many boxes the shipment has.

order_date: sanmar_sdk.base.SanMarDate | None = None[source]
order_number: int | None = None[source]

SanMar’s sales order number.

invoice_number: int | None = None[source]
po_number: str | None = None[source]
ship_from: PackingSlipParty | None = None[source]
ship_to: PackingSlipParty | None = None[source]
bill_to: PackingSlipParty | None = None[source]
weight: float | None = None[source]
weight_unit: str | None = None[source]
carrier: str | None = None[source]
shipping_method: str | None = None[source]
tracking_number: str | None = None[source]
items: sanmar_sdk.base.OneOrMany[PackingSlipItem] = None[source]
class sanmar_sdk.standard.packing_slips.PackingSlipService(soap: SoapClient, credentials: Credentials)[source]

Bases: sanmar_sdk._soap.Service

SanMar’s packing slip service.

get(license_plate: str) → PackingSlip[source]

Look up what is in the box with the given license plate number.

License plate numbers start with LP, L, S or R, such as LP000123456789.

Raises:

NotFoundError – If SanMar has no box with that number, or the box was shipped to someone else.