DashForDevsDocs
DocsNewsAPI v1
dashfordevs.comSign in

© 2026 DashForDevs

DocsNewsdashfordevs.comLegalStatus
DocsDiscountsBulk Pricing
Introduction
Getting Started
Authentication
Products
Categories
Cart
Checkout
Blog
Reviews
Webhooks
Customers
Orders
Inventory
Shipping
Discounts
Discount CodesAffiliate CodesBulk PricingValidate Code
Affiliates
Email
Media & Files
Analytics & Tracking
Locations
Tax
Global Data
SEO
Error Handling
Geography
Finance
Automations
Page Types
Surveys
Billing & Subscriptions
Storefront Payments
SDK Reference
REST API
Storefront Architecture
Notifications
Security
Team & Permissions
Migrations & Import
Calendar & Appointments
Contact Forms
AI Bots
Dashboard API
Deployment
Changelog
Troubleshooting
Recipes
CLI & Deployment
Image Pipeline
White-label Platforms
Records Engine
Platform Modules
Platform Security
Site Keys & Client Sites
Use Cases
Operations

Bulk Pricing

Volume-based pricing tiers for wholesale.

Updated March 29, 2026

On this page
  • Overview
  • Reading Bulk Discounts
  • Displaying Bulk Pricing
  • Next Steps

Overview

Bulk pricing offers automatic discounts when customers buy larger quantities. Discounts are configured per size and apply automatically in the cart.

Reading Bulk Discounts

typescript
import dash from "@/lib/dash"

const { product } = await dash.products.get("blue-dream")

// Each size can have bulk discounts
const size = product.attributes[0].options[0].sizes[0]
console.log(size.bulk_discounts)
// [
//   { min_quantity: 3, discount_type: "percentage", discount_value: "5" },
//   { min_quantity: 5, discount_type: "percentage", discount_value: "10" },
//   { min_quantity: 10, discount_type: "percentage", discount_value: "15" }
// ]

Displaying Bulk Pricing

typescript
export function BulkPricingTable({ size }) {
  if (!size.bulk_discounts?.length) return null

  return (
    <table>
      <thead><tr><th>Quantity</th><th>Discount</th><th>Price Each</th></tr></thead>
      <tbody>
        <tr><td>1+</td><td>—</td><td>${size.price}</td></tr>
        {size.bulk_discounts.map((bd, i) => {
          const discounted = (Number(size.price) * (1 - Number(bd.discount_value) / 100)).toFixed(2)
          return (
            <tr key={i}>
              <td>{bd.min_quantity}+</td>
              <td>{bd.discount_value}% off</td>
              <td>${discounted}</td>
            </tr>
          )
        })}
      </tbody>
    </table>
  )
}

Bulk discounts are automatically applied when the customer's cart quantity meets the threshold. The max_bulk_discount field on product cards shows the best available discount.

Next Steps

  • Discount Codes — Coupon-based discounts
  • Product Variations & Sizes — Size structure
PreviousAffiliate CodesNextValidate Code

On this page

  • Overview
  • Reading Bulk Discounts
  • Displaying Bulk Pricing
  • Next Steps