Public APIs for Price Lists
How to get the access key
Go to Dashboard > Pubic API, fill out the form and submit your access request. We’ll review it and send the access key to your email.

Rule endpoints
There are fields of Price List rule, you need to understand:
id: If provided and matches an existing price list, the rule will be updated. If omitted or does not match any existing price list, a new price list will be created.name*: Price list name.priority: Must be a number between0and99if provided.status0: disable
1: enable
replacedVariantstrue: Replace all existing variants (default).
false: Overwrite variants with matching IDs.
discount_typePERCENT: Apply a percentage as a discount.
FIXED: Decrease a fixed amount off original prices.
NEW: Apply a new price.
CUSTOMIZE: Customize for each product.
discount_valuevolume_typeNO_LIMIT: No discount.
QUANTITY: Discount on purchasing quantity.
AMOUNT: Discount on purchasing amount.
CUSTOMIZE: Customize for each product.
volume_applyEVERY_PRODUCT: Applies to all products in the price list.
TOTAL_PRODUCT: Applies to the total quantity/amount of all products in the price list.
volume_table: If provided, must be an array of volume pricing tiers.volume_pricing_from: value must be greater than the previous one.
volume_pricing_type: "PERCENT", "FIXED", or "NEW".
volume_pricing_value: discount value.
limit_typeNO_LIMIT: No limit.
QUANTITY: Limit on purchasing quantity.
AMOUNT: Limit on purchasing amount.
CUSTOMIZE: Customize for each product.
limit_applyEVERY_PRODUCT: Applies to all products in the price list.
TOTAL_PRODUCT: Applies to the total quantity/amount of all products in the price list.
minimum: Minimum quantity/amount of each product or all products in the price list in the order.maximum: Maximum quantity/amount of each product or all products in the price list in the order.increment_quantitypricingVariants: If provided, must be an array.variant_id, product_id, origin_price, variant_title, product_title, handle, sku, barcode, image_url, inventory_quantity: require.
price: Applicable only when
discount_typeis"CUSTOMIZE". Defaults to the value oforigin_priceif not provided.minimum: Only applicable when
limit_typeis"CUSTOMIZE".maximum: Only applicable when
limit_typeis"CUSTOMIZE". Must be greater thanminimumif provided.order_limit_by: Applicable only when
limit_typeis"CUSTOMIZE". Defaults to"QUANTITY"if not provided.increment_quantity: Applicable only when
limit_typeis"CUSTOMIZE"andorder_limit_byis"QUANTITY". Defaults to1if not provided.volume_limit_by: Applicable only when
volume_typeis"CUSTOMIZE". Defaults to"QUANTITY"if not provided.volume_pricing: Same structure and validation rules as
volume_table.
unit_of_measure: leave empty, or if provided must be a string; required on every row/line in the volumemarket_condition_type: must be"ALL"or"SPECIFIC", defaults to"ALL"variant_visibility: must be"ALL"or"SELECTED_ONLY", defaults to"ALL"applied_markets: a JSON object in the following format:
{ "24295899353": ["AE", "AT"], "24295866585": ["VN"] }
Get all pricing list rules by domain
GET https://b2bridge-public-api.b2bridge.io/api/v1/pricing-lists/get-by-domain
Headers
x-b2bridge-api-key
xxx
Params
domain
abc.myshopify.com
Response 200
Get pricing list rule by id
GET https://b2bridge-public-api.b2bridge.io/api/v1/pricing-lists/get-by-id
Headers
x-b2bridge-api-key
xxx
Params
domain
abc.myshopify.com
id
1
Response 200
Get variants in price list rule by rule id
GET https://b2bridge-public-api.b2bridge.io/api/v1/pricing-lists/get-variants-by-rule-id
Headers
x-b2bridge-api-key
xxx
Params
domain
abc.myshopify.com
id
1
Response 200
Save price list rule
POST https://b2bridge-public-api.b2bridge.io/api/v1/pricing-lists/save
Headers
Content-Type
application/json
x-b2bridge-api-key
xxx
Body
Response 200
Save multiple price list rules
POST https://b2bridge-public-api.b2bridge.io/api/v1/pricing-lists/bulk-save
Headers
Content-Type
application/json
x-b2bridge-api-key
xxx
Body
Response 200
Duplicate price list rule
POST https://b2bridge-public-api.b2bridge.io/api/v1/pricing-lists/duplicate-by-id
Headers
Content-Type
application/json
x-b2bridge-api-key
xxx
Body
Response 200
Delete price list rule
DELETE https://b2bridge-public-api.b2bridge.io/api/v1/pricing-lists/delete-by-id
Headers
x-b2bridge-api-key
xxx
Params
domain
abc.myshopify.com
id
1
Response 200
Mass delete price list rules
POST https://b2bridge-public-api.b2bridge.io/api/v1/pricing-lists/delete-by-id
Headers
Content-Type
application/json
x-b2bridge-api-key
xxx
Body
Response 200
Last updated