Description
Imitate custom item creation. This is useful if you want to get its id.
Topic: Info
Arguments
data: OrderCustomItemCreate!
Main argument for mutations.
Data Argument Fields
The weight of the custom item in grams
Example: 200
Valid when: grams is a non-negative integer
Height of the custom item (in millimeters)
Example: 150
Valid when: height is a non-negative integer
Length of the custom item (in millimeters)
Example: 150
Valid when: length is a non-negative integer
Whether this item requires shipping or not
Price of the custom item (per single item)
Valid when: price is a non-negative integer
Tax class of this item
Valid when: tax_class's length doesn't exceed 250 characters
Whether this item is taxable or not
Custom item title
Valid when: title is not empty
Valid when: title's length doesn't exceed 250 characters
Width of the custom item (in millimeters)
Example: 150
Valid when: width is a non-negative integer
Result
Preview (typescript)
Loading module