BulkPrice
No description
type BulkPrice implements IDiscount {
id: String!
createdAt: DateTime!
lastModifiedAt: DateTime!
value: Float!
quantityFrom: Int!
validFrom: DateTime
validTo: DateTime
priceId: String!
}
Fields
BulkPrice.id
● String!
non-null scalar
Unique identifier for the bulk price record.
Primary key used for bulk price management and volume pricing operations.
BulkPrice.createdAt
● DateTime!
non-null scalar
Timestamp when the bulk price record was initially created.
Used for audit trails and volume pricing history tracking.
BulkPrice.lastModifiedAt
● DateTime!
non-null scalar
Timestamp when the bulk price record was last updated.
Essential for tracking volume pricing changes and synchronization.
BulkPrice.value
● Float!
non-null scalar
Price value for this quantity tier.
Unit price that applies when the minimum quantity threshold is met for volume discount calculations.
BulkPrice.quantityFrom
● Int!
non-null scalar
Minimum quantity threshold for this bulk price tier to apply.
Minimum order quantity required for this bulk price to be activated in volume discount calculations.
BulkPrice.validFrom
● DateTime
scalar
Bulk pricing effective start date.
The date when the bulk pricing becomes active and available for customer orders. Must be a valid ISO 8601 date string format.
BulkPrice.validTo
● DateTime
scalar
Bulk pricing expiration date.
The date when the bulk pricing offer expires and is no longer available. Must be a valid ISO 8601 date string format.
BulkPrice.priceId
● String!
non-null scalar
Reference to the associated price record.
Foreign key linking this bulk price to its base price for volume pricing calculations.
Interfaces
IDiscount
interface
Returned By
bulkPriceCreate
mutation ● bulkPriceUpdate
mutation
Member Of
BulkPriceResponse
object