Skip to main content
Use the Developer Platform price books endpoints to manage marketplace channel list-price markup rules. Semantics match the workspace Price book UI (/app/{organizationId}/pricebook) and the OmniBot manage_price_book tool. Price books do not change canonical product prices in Omni. They rewrite channel list price at publish/catalog time by platform (and optional store/country).

Authentication

Send an OmniCommerce API key or OAuth client-credentials token:
OAuth clients must include the scope on the client. API keys created from organization settings receive all developer scopes by default. Session-authenticated calls must include organizationId in the query (GET) or JSON body (writes). OpenAPI reference: API reference · Spec: openapi.json

List rules

Query parameters

Response

Create rule

Request body

Scope uniqueness: one rule per platform + storeId + country combination. Returns 201 with { "rule": { ... } }.

Get / update / delete

Update accepts partial fields (storeId, country, marginValue, rounding, currency, enabled). Platform cannot be changed after create.

Preview channel list price

Optional ruleId forces a specific rule instead of most-specific matching.

Response

When no enabled rule matches, applied is false, source is canonical, and channelListPrice equals listPrice.

Matching priority

Most specific enabled rule wins for a given platform/store/country:
  1. platform + store + country
  2. platform + store
  3. platform + country
  4. platform only
  • Workspace UI: /app/{organizationId}/pricebook
  • OmniBot tool: manage_price_book (default Omnibot tool)
  • Product base price writes: POST /api/v1/sync (see API reference) or workspace product price update
  • Promotions (discounts/campaigns): Promotions API