Most commonly 1, except when offering tiered/bulk pricing.
Sale Price per unit. If the current date/time is within the PriceSchedule SaleStart and SaleEnd, this SalePrice will be used.
Subscription Price per unit. If set, this price is used when a subscription order is created.
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/priceschedules/{priceScheduleID}/PriceBreaks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.ordercloud.io/v1/priceschedules/{priceScheduleID}/PriceBreaks' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Quantity": 0,
"Price": 0,
"SalePrice": 0,
"SubscriptionPrice": 0,
"BundlePrice": 0
}'[ { "Quantity": 0, "Price": 0, "SalePrice": 0, "SubscriptionPrice": 0, "BundlePrice": 0 } ]
ID of the organization that owns the PriceSchedule. Only the marketplace owner can override the OwnerID on create.
For reference only for calculating tax, does not influence any OrderCloud behavior.
For reference only for calculating shipping cost, does not influence any OrderCloud behavior.
The minimum line item Quantity when UseCumulativeQuantity is false.
The maximum line item Quantity when UseCumulativeQuantity is false.
If true, line item quantities will be aggregated by productID when determining which price break applies, and when Min/Max quantities are met. Else, each line item is treated separately.
If true, this product can only be ordered in quantities that exactly match one of the price breaks on this schedule.
We recommend using ISO-4217 currency codes for compatibility with tax and payment processors.
Starting date/time for PriceBreak.SalePrice to be used as the price for the LineItem. Requires that the PriceBreak.SalePrice value is set.
Ending date/time for PriceBreak.SalePrice to be used as the price for the LineItem. Requires that the PriceBreak.SalePrice value is set.
True when at least one PriceBreak has a SalePrice defined, and the current time is between the SaleStart and SaleEnd date.
{ "PriceBreaks": [ { … } ], "OwnerID": "", "ID": "", "Name": "", "ApplyTax": false, "ApplyShipping": false, "MinQuantity": 0, "MaxQuantity": 0, "UseCumulativeQuantity": false, "RestrictedQuantity": false, "Currency": "", "SaleStart": "2018-01-01T00:00:00-06:00", "SaleEnd": "2018-01-01T00:00:00-06:00", "IsOnSale": false, "xp": {} }