Skip to main content

DemandRecord

A day's ordered demand for a SKU, by sales channel.

type DemandRecord {
company: Company
companyId: ID!
id: ID!
note: String
orderCount: Int
period: ISO8601DateTime!
product: DemandProduct
quantityOrdered: Int!
revenue: MonetaryValue
salesChannelHandle: String!
sku: String!
source: SourceEnum!
}

Fields

DemandRecord.company ● Company object companies

The company the demand belongs to.

DemandRecord.companyId ● ID! non-null scalar common

The company the demand belongs to.

DemandRecord.id ● ID! non-null scalar common

Unique identifier of the demand record.

DemandRecord.note ● String scalar common

Free-text explanation for the entry, when provided.

DemandRecord.orderCount ● Int scalar common

Number of distinct orders.

DemandRecord.period ● ISO8601DateTime! non-null scalar common

The day the demand corresponds to (UTC).

DemandRecord.product ● DemandProduct object common

The product for this SKU, when it exists.

DemandRecord.quantityOrdered ● Int! non-null scalar common

Units ordered.

DemandRecord.revenue ● MonetaryValue object common

Demand value as a Money object.

DemandRecord.salesChannelHandle ● String! non-null scalar common

The sales channel handle.

DemandRecord.sku ● String! non-null scalar common

The SKU the demand is for.

DemandRecord.source ● SourceEnum! non-null enum common

Where the row came from.

Returned By

echoCreateDemandRecord mutation ● echoUpdateDemandRecord mutation

Member Of

DemandRecordConnection object ● DemandRecordEdge object