All objects

IdEntryOfUpsertSimpleItemRequest

{
  "id": "<string>",
  "entry": {
    "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"
    }
  }
}
id
string
entry
object

Request to create a new item if it does not exist, or update an existing item

Hide child attributes

entry.name
stringrequired

Human readable name of the item

entry.scancodes
string[]required

Set of scannable barcodes assigned to the item

entry.imageUrl
string | null

URL to an image representing the item

entry.uom
enum<string>

Base unit of measure for the item

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

Optional multipacks for the item

Hide child attributes

entry.packs.id
stringrequired

Unique identifier of the multipack

entry.packs.name
stringrequired

Human readable name of the multipack

entry.packs.scancodes
string[]required

Set of scannable barcodes assigned to the multipack

entry.packs.imageUrl
string | null

URL to an image representing the multipack

entry.packs.count
integer

Number of base items contained in the multipack

entry.packs.packagingUnits
object[]

Optional supplier packagings the multipack arrives in

Hide child attributes

entry.packs.packagingUnits.id
stringrequired

Unique identifier of the packaging within the item

entry.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.

entry.packs.packagingUnits.count
integer

Number of pieces of the item contained in the packaging

entry.packs.packagingUnits.imageUrl
string | null

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

entry.packs.packagingUnits.dimensions
object | null

Outer size of the packaging

Hide child attributes

entry.packs.packagingUnits.dimensions.length
integerrequired

Longer base side.

entry.packs.packagingUnits.dimensions.width
integerrequired

Shorter base side.

entry.packs.packagingUnits.dimensions.height
integerrequired

Height.

entry.packs.packagingUnits.dimensions.unit
enum<string>

Unit the dimensions are expressed in.

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

Weight of the packaging

Hide child attributes

entry.packs.packagingUnits.weight.net
integer | null

Weight of the goods alone.

entry.packs.packagingUnits.weight.gross
integer | null

Weight of the goods including their wrapping.

entry.packs.packagingUnits.weight.unit
enum<string>

Unit the weight values are expressed in.

Available options: GRAM
entry.packs.dimensions
object | null

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

Hide child attributes

entry.packs.dimensions.length
integerrequired

Longer base side.

entry.packs.dimensions.width
integerrequired

Shorter base side.

entry.packs.dimensions.height
integerrequired

Height.

entry.packs.dimensions.unit
enum<string>

Unit the dimensions are expressed in.

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

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

Hide child attributes

entry.packs.weight.net
integer | null

Weight of the goods alone.

entry.packs.weight.gross
integer | null

Weight of the goods including their wrapping.

entry.packs.weight.unit
enum<string>

Unit the weight values are expressed in.

Available options: GRAM
entry.packagingUnits
object[]

Optional supplier packagings the item arrives in

Hide child attributes

entry.packagingUnits.id
stringrequired

Unique identifier of the packaging within the item

entry.packagingUnits.scancode
stringrequired

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

entry.packagingUnits.count
integer

Number of pieces of the item contained in the packaging

entry.packagingUnits.imageUrl
string | null

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

entry.packagingUnits.dimensions
object | null

Outer size of the packaging

Hide child attributes

entry.packagingUnits.dimensions.length
integerrequired

Longer base side.

entry.packagingUnits.dimensions.width
integerrequired

Shorter base side.

entry.packagingUnits.dimensions.height
integerrequired

Height.

entry.packagingUnits.dimensions.unit
enum<string>

Unit the dimensions are expressed in.

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

Weight of the packaging

Hide child attributes

entry.packagingUnits.weight.net
integer | null

Weight of the goods alone.

entry.packagingUnits.weight.gross
integer | null

Weight of the goods including their wrapping.

entry.packagingUnits.weight.unit
enum<string>

Unit the weight values are expressed in.

Available options: GRAM
entry.dimensions
object | null

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

Hide child attributes

entry.dimensions.length
integerrequired

Longer base side.

entry.dimensions.width
integerrequired

Shorter base side.

entry.dimensions.height
integerrequired

Height.

entry.dimensions.unit
enum<string>

Unit the dimensions are expressed in.

Available options: MILLIMETER
entry.weight
object | null

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

Hide child attributes

entry.weight.net
integer | null

Weight of the goods alone.

entry.weight.gross
integer | null

Weight of the goods including their wrapping.

entry.weight.unit
enum<string>

Unit the weight values are expressed in.

Available options: GRAM