Lab - Bulk Pricing Rules
Lesson 14 of 21 · 30 min
This lab activity will give you a chance to practice working with bulk pricing rules via the Catalog API. Each step will walk you through how to use all of the endpoints covered in the previous lesson.
Prerequisites:
- BigCommerce store (sandbox or live)
- Basic knowledge of APIs
- REST client (Postman)
- Completion of Catalog API labs 01 thru 05
In this lab, you will:
- Add bulk pricing rules to a product
- GET bulk pricing rules
- Update bulk pricing rules
Add Bulk Pricing Rules to a Product
- Copy and paste the request below into Postman
- Enter the ID of the product created in previous lab for
product_idin the Params tab - Copy and paste the code below into the Body section of Postman
- Select POST next to the request url
- Click the Send button
- Observe response and bulk pricing added to product


GET Bulk Pricing Rules
- Copy andpaste the request below into Postman
- Enter the ID of the product created in previous lab for
product_idin the Params tab - Select GET next to the request url (if not already selected)
- Click the Send button
- Observe response and copy ID
Update Bulk Pricing Rules
- Copy and paste the request below into Postman
- Enter the ID of the product created in previous lab for
product_idin the Params tab - Enter the ID of the bulk pricing rule created in the previous step for
rule_idin the Params tab - Copy and paste the code below into the Body section of Postman
- Select PUT next to the request url
- Click the Send button
- Observe response and updated bulk pricing on the product