Skip to main content

ProductStatusLog

Represents logs for each product state change.

type ProductStatusLog implements Node, ObjectWithMetadata {
id: ID!
metadata: [MetadataItem!]!
privateMetadata: [MetadataItem!]!
subStatusReason: String
createdAt: DateTime!
subStatus: ProductSubStatusEnum
user: User
}

Fields

ProductStatusLog.id ● ID! non-null scalar

The Globally Unique ID of this object

ProductStatusLog.metadata ● [MetadataItem!]! non-null object

List of public metadata items. Can be accessed without permissions.

ProductStatusLog.privateMetadata ● [MetadataItem!]! non-null object

List of private metadata items. Requires proper staff permissions to access.

ProductStatusLog.subStatusReason ● String scalar

The reason for the sub status of the product.

ProductStatusLog.createdAt ● DateTime! non-null scalar

The date and time the product state was created.

ProductStatusLog.subStatus ● ProductSubStatusEnum enum

The sub status of the product.

ProductStatusLog.user ● User object

The user who updated the product status.

Interfaces

Node interface

An object with a Globally Unique ID

ObjectWithMetadata interface

An object that supports metadata.

Member Of

Product object

Was this page helpful?