promotion
columns and relationships of "promotion"
type promotion {
allowPreview: Boolean
createdAt: timestamptz!
description: String!
displayOrder: Int
endsAt: timestamptz
id: uuid!
image: String
isActive: Boolean!
isArchived: Boolean!
isShippable: Boolean!
location: location
locationId: uuid
price: numeric
promotionServices(
distinct_on: [promotionServices_select_column!]
limit: Int
offset: Int
order_by: [promotionServices_order_by!]
where: promotionServices_bool_exp
): [promotionServices!]!
shippingFee: float8
startsAt: timestamptz
title: String!
updatedAt: timestamptz!
workspace: workspace!
workspaceId: uuid!
}
Fields
promotion.allowPreview ● Boolean scalar
promotion.createdAt ● timestamptz! non-null scalar
promotion.description ● String! non-null scalar
promotion.displayOrder ● Int scalar
promotion.endsAt ● timestamptz scalar
promotion.id ● uuid! non-null scalar
promotion.image ● String scalar
promotion.isActive ● Boolean! non-null scalar
promotion.isArchived ● Boolean! non-null scalar
promotion.isShippable ● Boolean! non-null scalar
promotion.location ● location object
An object relationship
promotion.locationId ● uuid scalar
promotion.price ● numeric scalar
A computed field, executes function "calculate_promotion_price"
promotion.promotionServices ● [promotionServices!]! non-null object
fetch data from the table: "promotionServices"
promotion.promotionServices.distinct_on ● [promotionServices_select_column!] list enum
distinct select on columns
promotion.promotionServices.limit ● Int scalar
limit the number of rows returned
promotion.promotionServices.offset ● Int scalar
skip the first n rows. Use only with order_by
promotion.promotionServices.order_by ● [promotionServices_order_by!] list input
sort the rows by one or more columns
promotion.promotionServices.where ● promotionServices_bool_exp input
filter the rows returned
promotion.shippingFee ● float8 scalar
promotion.startsAt ● timestamptz scalar
promotion.title ● String! non-null scalar
promotion.updatedAt ● timestamptz! non-null scalar
promotion.workspace ● workspace! non-null object
An object relationship
promotion.workspaceId ● uuid! non-null scalar
Returned By
promotion_by_pk query ● promotion_by_pk subscription ● promotion_stream subscription ● promotion query ● promotion subscription