Admin API / Types

ProductVariantQuantityChange

Object

One recorded change to a variant's stock.

type ProductVariantQuantityChange

Fields

FieldTypeDescription
actorUser
The member who made the change through adjustProductVariantQuantities or refundOrder. Null for other sources, or when the member is not readable. Reading the user's fields needs the admin:account:read scope.
createdAtDateTime!
When District recorded the change.
deltaInt!
Units added, or removed when negative.
quantityAfterNonNegativeInt!
Units in stock after the change.
reasonString
For ADJUSTMENT, the reason given to adjustProductVariantQuantities. For REFUND, RETURNED when the refund reason is BUYER_RETURN, else CANCELLED. Null for other sources.
sourceProductVariantQuantityChangeSource!
What made the change.

Returned by