Skip to main content
POST
This endpoint creates a new pricing rule that automatically adjusts product prices based on various conditions like customer type, quantity, date ranges, or inventory levels.

Authentication

This endpoint requires a valid API key with pricing:write permissions.

Request Body

string
required
Pricing rule name
string
required
Rule type: “customer_specific”, “volume_based”, “time_based”, “channel_based”, “dynamic”
integer
required
Rule priority (lower numbers take precedence)
object
required
Price adjustment configuration
object
required
Conditions for rule application
object
required
Rule validity period
string
Currency code (defaults to account currency)
string
Rule status: “active”, “scheduled”, “inactive”
object
Additional custom fields

Response

Returns the created pricing rule object.