Types > VariantSupplierCreate
Commerce APITypesVariantSupplierCreate
VariantSupplierCreate

Description

Fields

code: String

Supplier code

Example: "2352345"

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


cost: Int

Cost of the variant

Example: 345

Valid when: cost is a non-negative integer


inventory_location_id: String

Unique inventory location identifier. See also: Unique Identifiers

Example: "il_EQzGqWoY"

Valid when: inventory_location_id matches regexp pattern: ^il_


lead_time: Int

Number of seconds it takes for this variant to arrive

Example: 3600

Valid when: lead_time is a non-negative integer


quantity: Int

Default PO quantity for this variant

Example: 50

Valid when: quantity is a non-negative integer


supplier_id: String!

Unique supplier identifier. See also: Unique Identifiers

Example: "su_EQzGqWoY"

Valid when: supplier_id is not empty

Valid when: supplier_id matches regexp pattern: ^su_


Used By

Types

ProductVariantCreate, ProductVariantModify

Preview (typescript)

Loading module