Skip to main content

Packing Slip LiquidJS Reference

Updated today

The packing slip is printed and included inside shipment packages. It lists the items in the order along with quantities ordered and shipped, the store and customer addresses, and any customer notes. It serves as a physical record for the recipient to verify the contents of their package.

If you haven't check the Getting Started with LiquidJS article, please do before reading this.

How to access

Store > Templates > Packing Slip

Wrapper tag

{% PackingSlip %}   ... {% endPackingSlip %}

Options:

Option

Description

Default

width

Custom page width

8.5in

height

Custom page height

11in

landscape

Landscape orientation (add after options)

portrait

Example with custom dimensions:

{% PackingSlip width: 4in; height: 6in %}

Variables

Order-level

Variable

Type

Description

Example

binNumber

string

Assigned bin number

A12

groupNumber

string

Batch group number

GRP001

orderNumber

string

Order number

ORD123456

altOrderId

string

Alternate order ID

ALT123456

status

string

Current order status

Processing

orderAgeDays

number

Days since order placed

2

orderDate

string

ISO date of order creation

2024-08-02T10:30:00Z

currentDate

string

Current date/time

(dynamic)

financialStatus

string

Payment status

Paid

channelStatus

string

Sales channel status

Confirmed

requestedMethod

string

Requested shipping method

Standard

customerNotes

string

Customer-provided notes

Please deliver between 9 AM and 5 PM.

staffNotes

string

Internal staff notes

High-priority order, handle with care.

skulabsNotes

string

SKULabs-specific notes

Pack with additional cushioning.

orderMetafields

string

Flattened metafields string

DeliveryInstructions: Leave at front door

rmaNumber

string

RMA number (if applicable)

(varies)

tags (array)

Variable

Type

Description

Example

tag.name

string

Tag label

Priority

tag.color

string

Tag color

Red

cleanedCustomerNotes (array of strings)

Variable

Type

Description

Example

cleanedCustomerNotes[n]

string

Individual note line

Please deliver between 9 AM and 5 PM.

deliveryInstructions (array)

Variable

Type

Description

Example

instruction.type

string

Source of instruction

internal, channel_cart, channel_order

instruction.value

string

Instruction text

Added manually inside of SKULabs

orderMetadataObjs (array)

Variable

Type

Description

Example

obj.name

string

Metadata field name

GiftWrap

obj.value

string

Metadata field value

Yes

orderMetafieldObjs (array)

Variable

Type

Description

Example

obj.name

string

Metafield name

CustomField1

obj.value

string

Metafield value

Value1

customer (object)

Variable

Type

Description

Example

customer.name

string

Customer name

John Doe

customer.phone

string

Phone number

(412) 524-4234

customer.email

string

Email address

customer.company

string

Company name

John's Shop

customer.city

string

City

Los Angeles

customer.country

string

Country

USA

customer.state

string

State/province

CA

customer.zip

string

Postal code

90001

customer.federal_tax_id

string

Federal tax ID

987654321

customer.state_tax_id

string

State tax ID

CA987654

customer.address_type

string

Address type

Residential

customer.street1

string

Street line 1

12456 Example St

customer.street2

string

Street line 2

Suite 222

customer.address

string

Pre-formatted HTML address

12456 Example St, Suite 222,<br> Los Angeles, CA 90001 <br> US

billing (object)

Same structure as customer — represents the billing address.

origin (object)

Variable

Type

Description

Example

origin.name

string

Warehouse name

Warehouse 1

origin.phone

string

Phone number

(800) 243-2986

origin.email

string

Email address

origin.company

string

Company name

Company Inc.

origin.city

string

City

Coral Springs

origin.country

string

Country

USA

origin.state

string

State

FL

origin.zip

string

Postal code

33065

origin.federal_tax_id

string

Federal tax ID

123456789

origin.state_tax_id

string

State tax ID

NY123456

origin.address_type

string

Address type

Commercial

origin.street1

string

Street line 1

12450 NW 39th St

origin.street2

string

Street line 2

(empty)

origin.address

string

Pre-formatted HTML address

12450 NW 39th St,<br> Coral Springs, FL 33065 <br> US

return (object)

Same structure as origin — represents the return address.

store (object)

Variable

Type

Description

Example

store.name

string

Store name

Main Store

store.type

string

Store type

Online

store.logoUrl

string

URL to store logo

(url)

store.address

string

Pre-formatted HTML address

123 Commerce St, Suite 100<br> Metropolis, NY 10001<br> US

store.street1

string

Street line 1

123 Commerce St

store.street2

string

Street line 2

Suite 100

store.city

string

City

Metropolis

store.state

string

State

NY

store.zip

string

Postal code

10001

store.country

string

Country

USA

lines (array) — Order line items

Variable

Type

Description

Example

item.thumbnail

string

Product image URL

(url)

item.name

string

Product name

Product 1

item.sku

string

SKU

SKU001

item.barcode

string

Primary barcode

123456789012

item.extra_barcodes

array

Additional barcodes

['321098765432']

item.serialNumbers

array

Serial numbers

['SN123456']

item.shipped

number

Quantity shipped

1

item.ordered

number

Quantity ordered

1

item.backOrdered

number

Quantity backordered

0

item.dropShipped

number

Quantity drop-shipped

0

item.remaining

number

Quantity remaining to ship

0

item.scanned

number

Quantity scanned

0

item.cleared

number

Quantity cleared

0

item.outOfStock

boolean

Whether item is out of stock

false

item.price

number

Unit price

100.0

item.weight

number

Unit weight

1.5

item.weightUnit

string

Weight unit

kg

item.totalWeight

string

Formatted total weight

1.5 kg

item.height

number

Height

0.5

item.length

number

Length

1.2

item.width

number

Width

0.8

item.cbm

number

Cubic meters per unit

0.48

item.totalCbmItem

number

Total CBM for line

0.48

item.cbmDimensionUnit

string

CBM unit label

item.type

string

Line type

Standard

item.lineId

string

Unique line ID

LID123456

item.kitId

string

Kit ID (empty if not a kit)

KIT123

item.readyToShip

boolean

Whether item is ready to ship

true

item.options

array

Product options

[]

item.tags (array)

Variable

Type

Description

Example

tag.name

string

Tag label

Fragile

tag.color

string

Tag color

Yellow

item.locations (array)

Variable

Type

Description

Example

loc.name

string

Location name

Warehouse 1

loc.onHand

number

On-hand quantity

10

loc.free

number

Free (available) quantity

2

item.namingDetails (object)

Variable

Type

Description

Example

item.namingDetails.name

string

Base product name

Product 1

item.namingDetails.variant

string

Variant name

Black

item.namingDetails.shortName

string

Short display name

Product 1 Black

item.namingDetails.singleLineName

string

Single-line display name

Product 1 Black

item.customsFields (array)

Variable

Type

Description

Example

fd.field

string

Customs field name

Description, Tariff, Origin

fd.value

string

Customs field value

Plastic Toy, 9503.00, USA

item.presentment_data (object)

Variable

Type

Description

Example

item.presentment_data.price.amount

number

Price in presentment currency

75.0

item.presentment_data.price.currency_code

string

Currency code

CAD

item.presentment_data.price.currency_symbol

string

Currency symbol

$

item.presentment_data.total_discount.amount

number

Discount in presentment currency

0.0

item.presentment_data.tax_lines

array

Tax line details

(see below)

item.items (array) — Kit components

Each kit component has: thumbnail, name, sku, barcode, serialNumbers, tags, locations, shipped, ordered, backOrdered, dropShipped, price, remaining, scanned, cleared.

allShipments / newShipments / dropShipments (arrays)

Variable

Type

Description

Example

shipment.purchaseOrderNumber

string

Associated PO number

PO654321

shipment.time

string

Shipment time (ISO)

2024-08-02T10:30:00Z

shipment.provider

string

Shipping carrier

USPS

shipment.service

string

Shipping service

Priority Mail

shipment.amount

number

Shipping cost

15.0

shipment.status

string

Shipment status

Pending

shipment.trackingNumber

string

Tracking number

9400110200861234567890

shipment.altTrackingNumber

string

Alternate tracking number

USPS1234567890

shipment.trackingUrl

string

Tracking URL

(url)

shipment.bolNumber

string

Bill of lading number

BOL-2024-001

shipment.bookingNumber

string

Booking number

BK-789456

shipment.sealNumber

string

Seal number

SEAL-1234

shipment.carrierNumber

string

Carrier number

USPS

shipment.totalBundles

string

Total bundles

3

shipment.labelUrl

string

Label download URL

(url)

shipment.type

string

Shipment type

Standard, DropShip

shipment.items

array

Items in this shipment

(same structure as lines items)

shipment.origin

object

Origin address

(same structure as origin)

shipment.destination

object

Destination address

(same structure as customer)

newShipments items (extra fields)

Variable

Type

Description

Example

item.metadata

array

Item metadata

[{ name: 'Material', value: 'Plastic' }]

item.leftToShip

number

Remaining to ship

0

fulfillmentSummary (object)

Variable

Type

Description

Example

fulfillmentSummary.shipped

number

Total items shipped

1

fulfillmentSummary.ordered

number

Total items ordered

3

fulfillmentSummary.leftToShip

number

Items left to ship

2

orderSummary (object)

Variable

Type

Description

Example

orderSummary.subtotal

number

Order subtotal

325.0

orderSummary.tax

number

Tax amount

20.0

orderSummary.shipping

number

Shipping cost

70.0

orderSummary.discount

number

Discount amount

0.0

orderSummary.total

number

Order total

415.0

orderSummary.currency

string

Currency code

USD

orderSummary.orderWeight

string

Total weight string

1 lb 0 oz

orderSummary.totalItems

number

Total number of items

3

presentment_data (order-level object)

Variable

Type

Description

Example

presentment_data.total.amount

number

Total in presentment currency

415.0

presentment_data.total.currency_code

string

Currency code

CAD

presentment_data.subtotal.amount

number

Subtotal

325.0

presentment_data.total_tax.amount

number

Tax

20.0

presentment_data.total_discount.amount

number

Discount

0.0

presentment_data.total_shipping.amount

number

Shipping

70.0

currentUser (object)

Variable

Type

Description

Example

currentUser.name

string

Logged-in user name

John Doe

currentUser.email

string

Logged-in user email

Default template walkthrough

{% PackingSlip %}

Opens the wrapper tag with default 8.5" x 11" portrait.

{% FlexRow %}
{% FlexColumn %}
{% StoreLogo %}
{{ currentDate | formatDate: 'Mon DD YYYY' }}
#{{ orderNumber }}
{% endFlexColumn %}
{% FlexColumn text-right %}
{% Barcode orderNumber show_text: true; font_size: 20 %}
{% Bin %}
{% endFlexColumn %}
{% endFlexRow %}

Header row: Store logo, date, and order number on the left. Barcode of the order number and bin number on the right.

{% FlexRow %}
{% FlexColumn %}
<strong>Store:</strong>
{{ origin.address }}
{% endFlexColumn %}
{% FlexColumn text-right %}
<strong>Customer:</strong>
{{ customer.address }}
{% endFlexColumn %}
{% endFlexRow %}

Address row: Origin/store address on the left, customer shipping address on the right. Also checks for order.metafields.custom.store_name and customer.company.

<strong>Shipped:</strong>{{ newShipments[0].time | formatDate: 'Mon DD YYYY' }}
<strong>Requested Method:</strong> {{ requestedMethod }}

Shipment info: Date of the first new shipment and requested shipping method.

{% Table item in lines %}
{% Headers[Name, SKU, Ordered, Shipped] %}
{% Column %}
{{ item.name }}
{% Column %}
{{ item.sku }}
{% Column %}
{{ item.ordered }}
{% Column %}
{{ item.shipped }}
{% KitItems %}
{% endTable %}

Items table: Lists each line item with name, SKU, ordered quantity, and shipped quantity. {% KitItems %} automatically renders kit component sub-rows.

{% if customerNotes != '' %}
<strong>Notes: </strong>{{ customerNotes }}
{% endif %}

Footer: Shows customer notes if present.

Did this answer your question?