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¶
A postal address on a packing slip. |
|
Who a box ships from, ships to, or is billed to. |
|
One item in a box. |
|
What is in one box SanMar shipped. |
|
SanMar's packing slip service. |
Module Contents¶
- class sanmar_sdk.standard.packing_slips.PackingSlipAddress(/, **data: Any)[source]¶
Bases:
sanmar_sdk.base.RecordA postal address on a packing slip.
- class sanmar_sdk.standard.packing_slips.PackingSlipParty(/, **data: Any)[source]¶
Bases:
sanmar_sdk.base.RecordWho a box ships from, ships to, or is billed to.
- address: PackingSlipAddress = None[source]¶
- class sanmar_sdk.standard.packing_slips.PackingSlipItem(/, **data: Any)[source]¶
Bases:
sanmar_sdk.base.RecordOne item in a box.
- class sanmar_sdk.standard.packing_slips.PackingSlip(/, **data: Any)[source]¶
Bases:
sanmar_sdk.base.RecordWhat is in one box SanMar shipped.
- ship_date: sanmar_sdk.base.SanMarDate | None = None[source]¶
- order_date: sanmar_sdk.base.SanMarDate | None = None[source]¶
- ship_from: PackingSlipParty | None = None[source]¶
- ship_to: PackingSlipParty | None = None[source]¶
- bill_to: PackingSlipParty | 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.ServiceSanMar’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.