POST /catalog/products/{product_id}/bulk-pricing-rules
Creates a Bulk Pricing Rule.
Servers
- https://api.bigcommerce.com/stores/{store_hash}/v3
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
product_id |
Integer | Yes |
The ID of the |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Accept |
String | Yes |
The MIME type of the response body. Default value: "application/json" |
Content-Type |
String | Yes |
The MIME type of the request body. Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
amount |
Object | Yes |
You can express the adjustment type as either a fixed dollar amount or a percentage. Send a number; the response will return a number for |
type |
String | Yes |
The type of adjustment that is made. Values: Valid values:
|
quantity_min |
Integer | Yes |
The minimum inclusive quantity of a product to satisfy this rule. Must be greater than or equal to zero. Required in /POST. |
quantity_max |
Integer | Yes |
The maximum inclusive quantity of a product to satisfy this rule. Must be greater than the |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.