All objects

UpsertSimpleItemRequest

{
  "name": "Chocolate Bar",
  "scancodes": [
    "8000500037567",
    "8591000000005"
  ],
  "imageUrl": "https://cdn.example.com/items/chocolate-bar.png",
  "uom": "PIECE",
  "packs": [
    {
      "id": "CHOCOLATE-BAR-PACK-6",
      "name": "Chocolate Bar - Pack of 6",
      "scancodes": [
        "2000000000001",
        "2000000000002"
      ],
      "imageUrl": "https://cdn.example.com/items/chocolate-bar-pack-6.png",
      "count": 6,
      "packagingUnits": [
        {
          "id": "CARTON-60",
          "scancode": "18000500037564",
          "count": 60,
          "imageUrl": "https://cdn.example.com/items/chocolate-bar-carton-60.png",
          "dimensions": {
            "length": 400,
            "width": 300,
            "height": 220,
            "unit": "MILLIMETER"
          },
          "weight": {
            "net": 43,
            "gross": 47,
            "unit": "GRAM"
          }
        }
      ],
      "dimensions": {
        "length": 400,
        "width": 300,
        "height": 220,
        "unit": "MILLIMETER"
      },
      "weight": {
        "net": 43,
        "gross": 47,
        "unit": "GRAM"
      }
    }
  ],
  "packagingUnits": [
    {
      "id": "CARTON-60",
      "scancode": "18000500037564",
      "count": 60,
      "imageUrl": "https://cdn.example.com/items/chocolate-bar-carton-60.png",
      "dimensions": {
        "length": 400,
        "width": 300,
        "height": 220,
        "unit": "MILLIMETER"
      },
      "weight": {
        "net": 43,
        "gross": 47,
        "unit": "GRAM"
      }
    }
  ],
  "dimensions": {
    "length": 400,
    "width": 300,
    "height": 220,
    "unit": "MILLIMETER"
  },
  "weight": {
    "net": 43,
    "gross": 47,
    "unit": "GRAM"
  }
}
name
stringrequired

Human readable name of the item

scancodes
string[]required

Set of scannable barcodes assigned to the item

imageUrl
string | null

URL to an image representing the item

uom
enum<string>

Base unit of measure for the item

Available options: PIECE, GRAM, KILOGRAM
packs
object[]

Optional multipacks for the item

Hide child attributes

packs.id
stringrequired

Unique identifier of the multipack

packs.name
stringrequired

Human readable name of the multipack

packs.scancodes
string[]required

Set of scannable barcodes assigned to the multipack

packs.imageUrl
string | null

URL to an image representing the multipack

packs.count
integer

Number of base items contained in the multipack

packs.packagingUnits
object[]

Optional supplier packagings the multipack arrives in

Hide child attributes

packs.packagingUnits.id
stringrequired

Unique identifier of the packaging within the item

packs.packagingUnits.scancode
stringrequired

Scancode printed on the packaging. Several packagings of the same item may share it while a supplier phases a change in.

packs.packagingUnits.count
integer

Number of pieces of the item contained in the packaging

packs.packagingUnits.imageUrl
string | null

URL to an image representing the packaging, used for visual verification before decanting

packs.packagingUnits.dimensions
object | null

Outer size of the packaging

Hide child attributes

packs.packagingUnits.dimensions.length
integerrequired

Longer base side.

packs.packagingUnits.dimensions.width
integerrequired

Shorter base side.

packs.packagingUnits.dimensions.height
integerrequired

Height.

packs.packagingUnits.dimensions.unit
enum<string>

Unit the dimensions are expressed in.

Available options: MILLIMETER
packs.packagingUnits.weight
object | null

Weight of the packaging

Hide child attributes

packs.packagingUnits.weight.net
integer | null

Weight of the goods alone.

packs.packagingUnits.weight.gross
integer | null

Weight of the goods including their wrapping.

packs.packagingUnits.weight.unit
enum<string>

Unit the weight values are expressed in.

Available options: GRAM
packs.dimensions
object | null

Outer size of the multipack. Accepted only for items with unit of measure PIECE.

Hide child attributes

packs.dimensions.length
integerrequired

Longer base side.

packs.dimensions.width
integerrequired

Shorter base side.

packs.dimensions.height
integerrequired

Height.

packs.dimensions.unit
enum<string>

Unit the dimensions are expressed in.

Available options: MILLIMETER
packs.weight
object | null

Weight of the multipack. Accepted only for items with unit of measure PIECE.

Hide child attributes

packs.weight.net
integer | null

Weight of the goods alone.

packs.weight.gross
integer | null

Weight of the goods including their wrapping.

packs.weight.unit
enum<string>

Unit the weight values are expressed in.

Available options: GRAM
packagingUnits
object[]

Optional supplier packagings the item arrives in

Hide child attributes

packagingUnits.id
stringrequired

Unique identifier of the packaging within the item

packagingUnits.scancode
stringrequired

Scancode printed on the packaging. Several packagings of the same item may share it while a supplier phases a change in.

packagingUnits.count
integer

Number of pieces of the item contained in the packaging

packagingUnits.imageUrl
string | null

URL to an image representing the packaging, used for visual verification before decanting

packagingUnits.dimensions
object | null

Outer size of the packaging

Hide child attributes

packagingUnits.dimensions.length
integerrequired

Longer base side.

packagingUnits.dimensions.width
integerrequired

Shorter base side.

packagingUnits.dimensions.height
integerrequired

Height.

packagingUnits.dimensions.unit
enum<string>

Unit the dimensions are expressed in.

Available options: MILLIMETER
packagingUnits.weight
object | null

Weight of the packaging

Hide child attributes

packagingUnits.weight.net
integer | null

Weight of the goods alone.

packagingUnits.weight.gross
integer | null

Weight of the goods including their wrapping.

packagingUnits.weight.unit
enum<string>

Unit the weight values are expressed in.

Available options: GRAM
dimensions
object | null

Outer size of one piece of the item. Accepted only for items with unit of measure PIECE.

Hide child attributes

dimensions.length
integerrequired

Longer base side.

dimensions.width
integerrequired

Shorter base side.

dimensions.height
integerrequired

Height.

dimensions.unit
enum<string>

Unit the dimensions are expressed in.

Available options: MILLIMETER
weight
object | null

Weight of one piece of the item. Accepted only for items with unit of measure PIECE.

Hide child attributes

weight.net
integer | null

Weight of the goods alone.

weight.gross
integer | null

Weight of the goods including their wrapping.

weight.unit
enum<string>

Unit the weight values are expressed in.

Available options: GRAM