Types > VariantInventoryLog
Commerce APITypesVariantInventoryLog
VariantInventoryLog

Description

Fields

arg1: String!

Link argument #1 for nice string formatting

Example: "or_EQzGqWoY"


arg2: String!

Link argument #2 for nice string formatting

Example: "fu_EQzGqWoY"


committed: Int!

Value of the "committed", after difference was applied

Example: 543


committed_diff: Int!

Difference applied to "committed"

Example: -5


created_at: String!

Date and time inventory log entry was created

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


customer: Customer

Customer responsible for the action

Expandable

Permission bit: "customers.read"


incoming: Int!

Value of the "incoming", after difference was applied

Example: 543


incoming_diff: Int!

Difference applied to "incoming"

Example: -5


inventory_location: InventoryLocation

Subject inventory location

Expandable

Permission bit: "inventory_locations.read"


on_hand: Int!

Value of the "on_hand", after difference was applied

Example: 543


on_hand_diff: Int!

Difference applied to "on_hand"

Example: -5


type: InventoryLogType!

Inventory log entry type

Example: "manual_adjustment"


user: User

User responsible for the action

Expandable

Permission bit: "users.read"


Used By

Types

VariantInventoryLogPage

Preview (typescript)

interface VariantInventoryLog {
arg1: string
arg2: string
committed: number
committed_diff: number
created_at: string
customer?: Customer | null
incoming: number
incoming_diff: number
inventory_location?: InventoryLocation | null
on_hand: number
on_hand_diff: number
type: InventoryLogType
user?: User | null
}