Skip to main content

LineItemModel

Product model.

Breaking Changes

No breaking changes.

Examples

Fill this template out with real values.

{
"by_weight": "Boolean",
"category": "String",
"description": "String",
"id": "Integer",
"location_id": "Integer",
"name": "String"
}

Fields

by_weight Boolean, Required

By weight if TRUE.

  • One of 0, 1, True, False (case insensitive).

category String, Required

Product category.

  • At least 1 and no more than 2048 characters.

description String, Required

Product description.

  • At least 1 and no more than 2048 characters.

id Integer, Required

Product identifier.


location_id Integer, Required

Location identifier.


name String, Required

Product name.

  • At least 1 and no more than 100 characters.