Types > OrderCustomItemCreate
Commerce APITypesOrderCustomItemCreate
OrderCustomItemCreate

Description

Topic: Info

Fields

grams: Int

The weight of the custom item in grams

Example: 200

Valid when: grams is a non-negative integer


height: Int

Height of the custom item (in millimeters)

Example: 150

Valid when: height is a non-negative integer


inventory_location_id: String


length: Int

Length of the custom item (in millimeters)

Example: 150

Valid when: length is a non-negative integer


physical: Boolean

Whether this item requires shipping or not


price: Int

Price of the custom item (per single item)

Valid when: price is a non-negative integer


tax_class: String

Tax class of this item

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


taxable: Boolean

Whether this item is taxable or not


title: String!

Custom item title

Valid when: title is not empty

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


width: Int

Width of the custom item (in millimeters)

Example: 150

Valid when: width is a non-negative integer


Used By

Mutations

infoCustomItemCreate

Types

BuyLinkCreate, BuyLinkModify, OrderCreate, OrderModify

Preview (typescript)

Loading module