Types > PackagingModify
Commerce APITypesPackagingModify
PackagingModify

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

Valid when: grams is a non-negative integer


height: Int

Height of the packaging in millimeters

Example: 200

Valid when: height is a non-negative integer


inventory_location_ids: [String!]


length: Int

Length of the packaging in millimeters

Example: 200

Valid when: length is a non-negative integer


max_grams: Int

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

Example: 200

Valid when: max_grams is a non-negative integer


name: String

Name of the packaging

Example: "Large Box"

Valid when: name is not empty

Valid when: name's length doesn't exceed 250 characters


shipping_provider_ids: [String!]


width: Int

Width of the packaging in millimeters

Example: 200

Valid when: width is a non-negative integer


Used By

Mutations

packagingModify

Preview (typescript)

Loading module