Types > Packaging
Commerce APITypesPackaging
Packaging

Description

Topic: Packaging

Fields

enabled: Boolean!

Whether this packaging is enabled or not

Example: false


grams: Int!

The weight of the empty packaging in grams

Example: 200


height: Int!

Height of the packaging in millimeters

Example: 200


id: String!

Unique packaging identifier. See also: Unique Identifiers

Example: "pa_EQzGqWoY"


inventory_locations: [InventoryLocation]

A list of inventory locations this packaging is allowed to be used with

Expandable

Permission bit: "inventory_locations.read"


length: Int!

Length of the packaging in millimeters

Example: 200


max_grams: Int!

The maximum weight this packaging can hold (excluding its own weight)

Example: 200


name: String!

Name of the packaging

Example: "Large Box"


shipping_providers: [ShippingProvider]

A list shipping providers this packaging is allowed to be used with

Expandable

Permission bit: "shipping_providers.read"


width: Int!

Width of the packaging in millimeters

Example: 200


Used By

Mutations

packagingCreate, packagingModify

Queries

packaging

Preview (typescript)

Loading module