Palbase Commerce & Promotions
Palbase's unified commerce, multi-seller marketplace, and standalone promotions engine: shared catalog, multi-seller listings & deterministic Buy Box, digital assets & IAP entitlement bridge, optimistic-locked multi-location inventory, single-TX ACID checkout with blocking Standard Webhooks hooks, split seller OMS, RMA returns, invoices, settlements, and penny-accurate promotions.
The contract itself: /openapi/commerce.openapi.json
Catalog
GET
/commerce/brandsList brandsPOST/commerce/brandsCreate brandGET/commerce/categoriesList categoriesPOST/commerce/categoriesCreate categoryGET/commerce/collectionsList collectionsPOST/commerce/collectionsCreate collectionPUT/commerce/collections/{collection_id}/products/{product_id}Add product to collectionDELETE/commerce/collections/{collection_id}/products/{product_id}Remove product from collectionPOST/commerce/digital-assetsRegister private digital asset for variant or listingPOST/commerce/mediaAttach media asset to product, variant, or listingGET/commerce/productsList catalog productsPOST/commerce/productsCreate catalog productPOST/commerce/products/quickQuick-create product, variant, listing, price, and inventoryGET/commerce/products/{product_id}Get catalog product detailPATCH/commerce/products/{product_id}Update catalog productPOST/commerce/products/{product_id}/approvalApprove or reject marketplace product submissionPOST/commerce/products/{product_id}/optionsUpsert product option (Size, Color)POST/commerce/products/{product_id}/variantsCreate product variantPATCH/commerce/variants/{variant_id}Update product variantPOST/commerce/variants/{variant_id}/bundle-itemsSet bundle component variantsPOST/commerce/variants/{variant_id}/buybox/recomputeRecompute winning Buy Box offer for variantCarts
POST
/commerce/cartsCreate guest or customer cartGET/commerce/carts/{cart_id}Get cart with live quoted totalsPATCH/commerce/carts/{cart_id}Update cart contact, addresses, or wallet amountPOST/commerce/carts/{cart_id}/checkoutExecute single-TX checkout with stock/promo holds and marketplace payment intentPOST/commerce/carts/{cart_id}/itemsAdd listing item to cartPATCH/commerce/carts/{cart_id}/items/{line_id}Update cart item quantity or selectionDELETE/commerce/carts/{cart_id}/items/{line_id}Remove line item from cartPOST/commerce/carts/{cart_id}/mergeMerge guest cart into signed-in customer cartPOST/commerce/carts/{cart_id}/promo-codesApply promotion code to cartDELETE/commerce/carts/{cart_id}/promo-codes/{code}Remove promotion code from cartPOST/commerce/carts/{cart_id}/shippingSelect shipping option for a store in cartStorefront
GET
/commerce/catalog/brandsList storefront brandsGET/commerce/catalog/categoriesList storefront categoriesGET/commerce/catalog/channelsList active sales channelsGET/commerce/catalog/collectionsList storefront collectionsGET/commerce/catalog/productsList and search active storefront productsPOST/commerce/catalog/searchStructured storefront product search with dynamic facetsGET/commerce/catalog/suggestAutocomplete suggestions for products, categories, and brandsPOST/commerce/catalog/recommendGenerate storefront product recommendations using built-in or custom strategiesGET/commerce/catalog/products/{product_id_or_handle}/recommendationsGet product recommendations for a given productGET/commerce/catalog/products/{product_id_or_handle}Get storefront product with variants and Buy Box offersGET/commerce/catalog/regionsList active sales regionsGET/commerce/catalog/storesList active marketplace storesGET/commerce/catalog/stores/{store_id_or_slug}Get storefront store profileGET/commerce/orders/guest/{order_number}Lookup guest order using guest access tokenReviews
GET
/commerce/catalog/products/{product_id_or_handle}/reviewsList published product reviews with rating summary and mediaGET/commerce/catalog/stores/{store_id_or_slug}/reviewsList published store reviews with multi-dimensional rating summaryPOST/commerce/me/products/{product_id_or_handle}/reviewsSubmit a product review with verified store attribution and optional photo/video mediaGET/commerce/me/reviewsList reviews submitted by the signed-in customerPOST/commerce/me/reviews/upload-urlMint signed Storage upload URL for review photo or videoDELETE/commerce/me/reviews/{review_id}Delete a review authored by the signed-in customerPOST/commerce/me/reviews/{review_id}/voteVote a review helpful or not helpfulPOST/commerce/me/stores/{store_id_or_slug}/reviewsSubmit a seller store review with multi-dimensional ratingsGET/commerce/reviewsList all product and store reviews for moderationPATCH/commerce/reviews/{review_id}Moderate a product or store review statusDELETE/commerce/reviews/{review_id}Delete a product or store review as platform adminSettings
GET
/commerce/channelsList sales channelsPOST/commerce/channelsCreate sales channelPUT/commerce/channels/{channel_id}/regions/{region_id}Attach region to sales channelPUT/commerce/channels/{channel_id}/stores/{store_id}Attach store to sales channelDELETE/commerce/channels/{channel_id}/stores/{store_id}Detach store from sales channelGET/commerce/regionsList sales regionsPOST/commerce/regionsCreate sales regionPATCH/commerce/regions/{region_id}Update sales regionGET/commerce/settingsGet project commerce settingsPUT/commerce/settingsUpdate project commerce settingsGET/commerce/storesList all storesPOST/commerce/storesCreate first-party or third-party storeGET/commerce/stores/{store_id}Get store detailsPATCH/commerce/stores/{store_id}Update store status, commission, or settingsPOST/commerce/stores/{store_id}/payment-accountsOnboard store PSP sub-merchant accountGET/commerce/tax-ratesList jurisdiction tax ratesPUT/commerce/tax-ratesUpsert jurisdiction tax rateOrders
PATCH
/commerce/fulfillments/{fulfillment_id}Update fulfillment statusPOST/commerce/fulfillments/{fulfillment_id}/eventsAppend carrier shipment tracking eventGET/commerce/invoicesList tax invoicesPOST/commerce/invoicesCreate tax invoice record with ETTN and legal holdPATCH/commerce/invoices/{invoice_id}Update invoice status or ETTNGET/commerce/ordersList ordersGET/commerce/orders/{order_id}Get order detail with store orders and linesPOST/commerce/orders/{order_id}/mark-paidMark order paid (manual/COD/bank transfer)GET/commerce/returnsList RMA returnsPOST/commerce/returns/{return_id}/approveApprove RMA returnPOST/commerce/returns/{return_id}/rejectTurn a return downPOST/commerce/returns/{return_id}/completeComplete RMA return and issue payment/wallet refundPOST/commerce/returns/{return_id}/receiveReceive and inspect returned itemsGET/commerce/settlementsList seller settlement statementsPOST/commerce/settlements/generateGenerate deduplicated seller settlement statementPOST/commerce/settlements/{settlement_id}/mark-paidMark seller settlement statement paidGET/commerce/store-ordersList per-seller store ordersGET/commerce/store-orders/{store_order_id}Get store order detailPOST/commerce/store-orders/{store_order_id}/cancelCancel full or partial store orderPOST/commerce/store-orders/{store_order_id}/fulfillmentsCreate shipment or fulfillmentPOST/commerce/store-orders/{store_order_id}/returnsCreate RMA return or partial-refund requestDiscovery
GET
/commerce/discovery/strategiesList custom discovery strategiesPOST/commerce/discovery/strategiesCreate a custom discovery strategyGET/commerce/discovery/strategies/{strategy_id}Get a custom discovery strategyPATCH/commerce/discovery/strategies/{strategy_id}Update a custom discovery strategyDELETE/commerce/discovery/strategies/{strategy_id}Delete a custom discovery strategyGET/commerce/discovery/rulesList merchandising rulesPOST/commerce/discovery/rulesCreate a merchandising ruleGET/commerce/discovery/rules/{rule_id}Get a merchandising rulePATCH/commerce/discovery/rules/{rule_id}Update a merchandising ruleDELETE/commerce/discovery/rules/{rule_id}Delete a merchandising ruleGET/commerce/discovery/synonymsList search synonymsPOST/commerce/discovery/synonymsCreate or update a search synonymDELETE/commerce/discovery/synonyms/{synonym_id}Delete a search synonymPOST/commerce/discovery/signals/refreshRecompute behavioral signals, co-occurrence, and search summariesHooks
Inventory
GET
/commerce/inventoryList inventory levelsPOST/commerce/inventory/adjustAdjust inventory on-hand quantity with audit ledgerPOST/commerce/inventory/bulk-syncBulk ERP inventory syncGET/commerce/inventory/movementsList immutable inventory movementsGET/commerce/stock-locationsList stock locationsPOST/commerce/stock-locationsCreate stock locationListings
GET
/commerce/listingsList seller listingsPOST/commerce/listingsCreate seller listingPATCH/commerce/listings/{listing_id}Update seller listingPOST/commerce/listings/{listing_id}/license-keysImport encrypted license keys into listing poolPOST/commerce/listings/{listing_id}/pricesUpsert listing priceGET/commerce/price-listsList segmented price listsPOST/commerce/price-listsCreate segmented price listGET/commerce/shipping-optionsList shipping optionsPOST/commerce/shipping-optionsCreate shipping optionGET/commerce/shipping-profilesList shipping profilesPOST/commerce/shipping-profilesCreate shipping profileCustomer
GET
/commerce/me/ordersList signed-in customer ordersGET/commerce/me/orders/{order_id}Get signed-in customer order detailGET/commerce/me/orders/{order_id}/downloadsGet signed digital download URLs and assigned license keysGET/commerce/me/returnsList signed-in customer returnsPOST/commerce/me/store-orders/{store_order_id}/returnsRequest RMA return for a store orderSellerPortal
PATCH
/commerce/stores/{store_id}/fulfillments/{fulfillment_id}Update fulfillment status (e.g. delivered)POST/commerce/stores/{store_id}/fulfillments/{fulfillment_id}/eventsAppend carrier tracking event to fulfillmentGET/commerce/stores/{store_id}/inventoryList seller inventory levelsPOST/commerce/stores/{store_id}/inventory/adjustAdjust seller inventory quantityPOST/commerce/stores/{store_id}/inventory/bulk-syncBulk sync seller inventory levelsGET/commerce/stores/{store_id}/listingsList seller store listingsPOST/commerce/stores/{store_id}/listingsCreate seller listing on a catalog variantPATCH/commerce/stores/{store_id}/listings/{listing_id}Update seller listingPOST/commerce/stores/{store_id}/listings/{listing_id}/license-keysImport encrypted digital license keys for listingPOST/commerce/stores/{store_id}/listings/{listing_id}/pricesUpsert seller listing priceGET/commerce/stores/{store_id}/locationsList seller stock locationsPOST/commerce/stores/{store_id}/locationsCreate seller stock locationPOST/commerce/stores/{store_id}/membersAdd or update store portal member roleDELETE/commerce/stores/{store_id}/members/{user_id}Remove store portal memberGET/commerce/stores/{store_id}/metricsGet seller quality and Buy Box metricsGET/commerce/stores/{store_id}/ordersList seller store ordersGET/commerce/stores/{store_id}/orders/{store_order_id}Get seller store order detailPOST/commerce/stores/{store_id}/orders/{store_order_id}/cancelCancel full or partial seller store orderPOST/commerce/stores/{store_id}/orders/{store_order_id}/fulfillmentsCreate shipment or fulfillment for store orderPOST/commerce/stores/{store_id}/payouts/onboardOnboard seller PSP sub-merchant accountPOST/commerce/stores/{store_id}/payouts/onboarding-linkCreate temporary PSP sub-merchant onboarding linkGET/commerce/stores/{store_id}/productsList seller store productsPOST/commerce/stores/{store_id}/productsCreate seller catalog productPOST/commerce/stores/{store_id}/products/quickQuick-create seller product, variant, listing, price, and stockPOST/commerce/stores/{store_id}/promotions/rulesCreate seller-funded promotion ruleGET/commerce/stores/{store_id}/returnsList seller store returnsPOST/commerce/stores/{store_id}/returns/{return_id}/approveApprove buyer RMA returnPOST/commerce/stores/{store_id}/returns/{return_id}/rejectTurn a buyer's return downPOST/commerce/stores/{store_id}/returns/{return_id}/completeComplete RMA return and trigger payment refundPOST/commerce/stores/{store_id}/returns/{return_id}/receiveMark returned goods received and inspectedGET/commerce/stores/{store_id}/reviewsList product and store reviews attributed to a seller storePOST/commerce/stores/{store_id}/reviews/{review_id}/replyPublish an official seller reply to a review attributed to this storeGET/commerce/stores/{store_id}/settlementsList seller settlement statementsPOST/commerce/stores/{store_id}/shipping-optionsCreate seller shipping optionPromotions
DELETE
/promotions/codes/{code_id}Revoke promotion codePOST/promotions/evaluateEvaluate applicable promotions against a cart or external orderPOST/promotions/holdsReserve promotion usages and budgets for an external checkoutPOST/promotions/holds/{hold_id}/commitCommit promotion hold into an immutable redemptionPOST/promotions/holds/{hold_id}/releaseRelease unused promotion holdGET/promotions/redemptionsList promotion redemptionsPOST/promotions/redemptions/{redemption_id}/reverseReverse committed promotion redemption on refund/cancelGET/promotions/rulesList promotion rulesPOST/promotions/rulesCreate promotion ruleGET/promotions/rules/{rule_id}Get promotion rulePATCH/promotions/rules/{rule_id}Update promotion ruleDELETE/promotions/rules/{rule_id}Archive promotion rulePUT/promotions/rules/{rule_id}/budgets/{currency}Set per-currency promotion spend capGET/promotions/rules/{rule_id}/codesList promotion codes for a rulePOST/promotions/rules/{rule_id}/codesCreate single or referral promotion codePOST/promotions/rules/{rule_id}/codes/batchGenerate batch of single-use promotion codes