- Product catalogs
Sale prices using price schedules
The PriceSchedule and PriceBreak resources now support sale pricing functionality with optional start and end dates.
Price schedule model
Updated resource definition
json
Pricing behavior
Active sale prices override standard pricing in line item unit price calculations.
New properties
SaleStart property
- Defines sale start date/time
- Optional field
- Stored in UTC format
- Controls price activation
SaleEnd property
- Defines sale end date/time
- Optional field
- Stored in UTC format
- Controls price deactivation
IsOnSale property
- Read-only boolean
- Indicates active sale status
- Calculated from:
- Current date/time
- SaleStart/SaleEnd range
- PriceBreak.SalePrice existence
SalePrice property
- Overrides standard Price
- Active during sale period
- Pricing precedence:
- BundlePrice (if defined)
- SubscriptionPrice (subscription orders)
- SalePrice (during sale period)
- Standard Price
Current limitations
The IsOnSale property:
- Not searchable
- Not filterable
- Calculated at runtime
Implementation guide
Prerequisites
This guide builds on the Same Product, Multiple Price Schedules example:
- Existing products
- Configured categories
- Established catalogs
- Valid assignments
Price schedule verification
Check enterprise schedule
http
Check startup schedule
http
Configure sale pricing
Enterprise price schedule
March sale configuration:
http
json
Startup price schedule
April sale configuration:
http
json
Verification steps
Active sale verification
- Authenticate as Jane Doe (CloudTech)
- Call
GET https://sandboxapi.ordercloud.io/v1/me/products/usb-product-id - Verify:
IsOnSale: trueSalePrice: 2.99applies- Standard
Price: 3.99overridden
Inactive sale verification
- Authenticate as John Deer (ComputerDudes)
- Call
GET https://sandboxapi.ordercloud.io/v1/me/products/usb-product-id - Verify:
IsOnSale: falseSalePrice: 4.99not active- Standard
Price: 5.99applies
Note: Use JWT.io to verify authentication tokens.
Related reading
If you have suggestions for improving this article, let us know!