Types > PurchaseOrderLineItemCreate
Commerce APITypesPurchaseOrderLineItemCreate
PurchaseOrderLineItemCreate

Description

Fields

code: String!

Line item code

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


cost: Int!

Line item cost

Valid when: cost is a non-negative integer


quantity: Int!

Amount of items to transfer

Example: 352


tax: Float!

Line item tax (in percents)

Valid when: tax is a non-negative float


variant_id: String!

A unique product variant identifier

Example: "va_EQzGqWoY"

Valid when: variant_id is not empty

Valid when: variant_id matches regexp pattern: ^va_


Used By

Types

PurchaseOrderCreate, PurchaseOrderModify

Preview (typescript)

Loading module