List Price Book Rules
curl --request GET \
--url https://omnicommerce.sg/api/v1/price-books \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/price-books', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/price-books"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"rules": [
{}
],
"total": 1
}Price Books
List Price Book Rules
List marketplace price book rules for the authenticated organization. A rule applies either a buyer formula or a markup percent to the catalog price at publish time, by platform and optional store/country. Requires price_books:read.
GET
/
api
/
v1
/
price-books
List Price Book Rules
curl --request GET \
--url https://omnicommerce.sg/api/v1/price-books \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/price-books', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/price-books"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"rules": [
{}
],
"total": 1
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Query Parameters
Optional organization scope for session-authenticated calls. OAuth client credentials resolve the organization from the token.
Maximum string length:
120Filter by marketplace platform: shopee, lazada, tiktok, shopify, whatsapp, zalora, amazon, or ebay.
Available options:
shopee, lazada, tiktok, shopify, whatsapp, zalora, amazon, ebay When true, return only enabled rules.