API ReferenceEndpointsPublic API (v1)Public API (v1)

Public API (v1)

Brainerce API reference: every public api (v1) operation, with its method, path and a page of its own.

The external integrator REST API under /v1/*. Stable, versioned, auth via api-key (issue from the dashboard at Settings → API keys). Use this when calling Brainerce from outside the dashboard — a headless storefront, ERP sync, BI pipeline, etc. Every endpoint requires a scope (products:read, orders:write, …) on the key. The /v1/ prefix is a versioning anchor — there is no v2 planned, but a future breaking change would ship under /v2/ without disrupting /v1/ integrators.

Public API (v1) operations

Store

MethodEndpointOperation
GET/v1/storeGet store information

Products

MethodEndpointOperation
GET/v1/productsList products with pagination
POST/v1/productsCreate a new product
GET/v1/products/{id}Get a single product by ID
PATCH/v1/products/{id}Update a product
DELETE/v1/products/{id}Delete a product
POST/v1/products/bulkCreate many products in one call (queued)
GET/v1/products/bulk/{jobId}Get bulk product creation status
GET/v1/products/bulk/import/{importId}Get aggregate status for a chunked import
GET/v1/products/bulk/{jobId}/errorsList per-product failures for a bulk create job
GET/v1/products/{id}/kit-componentsGet kit components
PUT/v1/products/{id}/kit-componentsSet kit components
PATCH/v1/products/{id}/convert-to-variableConvert a SIMPLE product to VARIABLE
PATCH/v1/products/{id}/convert-to-simpleConvert a VARIABLE product back to SIMPLE
GET/v1/products/{id}/inventoryGet inventory for a product
PUT/v1/products/{id}/inventoryUpdate inventory for a product
POST/v1/products/{id}/variantsCreate a variant for a product
POST/v1/products/{id}/variants/bulkBulk save variants
PATCH/v1/products/{id}/variants/{variantId}Update a variant
DELETE/v1/products/{id}/variants/{variantId}Delete a variant
GET/v1/products/{id}/variants/{variantId}/inventoryGet variant inventory
PATCH/v1/products/{id}/variants/{variantId}/inventoryUpdate variant inventory
POST/v1/products/{id}/publish-sales-channelPublish a product to a sales-channel site
POST/v1/products/{id}/unpublish-sales-channelUnpublish a product from a sales-channel site
GET/v1/products/{productId}/metafieldsGet metafields for a product
DELETE/v1/products/{productId}/metafields/{definitionId}Delete a product metafield value
PUT/v1/products/{productId}/metafields/{definitionId}Upsert a product metafield value
GET/v1/products/{productId}/reviewsList reviews for a product (admin view, includes hidden)
POST/v1/products/{productId}/reviewsSubmit a product review (server-to-server)

Coupons

MethodEndpointOperation
POST/v1/coupons/{id}/publish-sales-channelPublish a coupon to a sales-channel site
POST/v1/coupons/{id}/unpublish-sales-channelUnpublish a coupon from a sales-channel site
GET/v1/couponsList coupons with pagination
POST/v1/couponsCreate a new coupon
GET/v1/coupons/platform-capabilitiesGet platform capabilities for coupon features
GET/v1/coupons/{id}Get a single coupon by ID
PATCH/v1/coupons/{id}Update a coupon
DELETE/v1/coupons/{id}Delete a coupon
POST/v1/coupons/{id}/syncSync a coupon to all connected platforms
POST/v1/coupons/{id}/publishPublish a coupon to specific platforms

Media

MethodEndpointOperation
GET/v1/mediaList media library assets
POST/v1/mediaUpload or ingest a media asset
GET/v1/media/{id}Get a media asset by ID
PATCH/v1/media/{id}Update media asset metadata
DELETE/v1/media/{id}Delete a media asset

Orders

MethodEndpointOperation
GET/v1/ordersList orders with pagination
POST/v1/ordersCreate a new order
GET/v1/orders/{id}Get a single order by ID
PATCH/v1/orders/{id}Update an order
GET/v1/orders/{id}/shipments/app-ratesLive carrier rates for an order
POST/v1/orders/{id}/shipments/app-labelBuy a shipping label via the installed shipping app
GET/v1/orders/{id}/shipmentsShipments and tracking history for an order
GET/v1/orders/{id}/custom-fieldsGet the custom field values on an order
PATCH/v1/orders/{id}/custom-fieldsSet custom field values on an order
PATCH/v1/orders/{id}/tagsSet the tags of an order

Order custom fields

MethodEndpointOperation
GET/v1/order-custom-fieldsList order custom field definitions

Customers

MethodEndpointOperation
POST/v1/customersCreate a new customer
GET/v1/customers/by-emailGet a customer by email
GET/v1/customers/{id}Get a customer by ID
PATCH/v1/customers/{id}Update a customer
POST/v1/customers/{id}/publish-sales-channelAttach a customer to a sales channel
POST/v1/customers/{id}/unpublish-sales-channelDetach a customer from a sales channel
POST/v1/customers/loginCustomer login
POST/v1/customers/registerCustomer registration
POST/v1/customers/forgot-passwordRequest password reset (Public API)
POST/v1/customers/reset-passwordReset password with token (Public API)
GET/v1/customers/{id}/addressesGet customer addresses
POST/v1/customers/{id}/addressesAdd a customer address
PATCH/v1/customers/{id}/addresses/{addressId}Update a customer address
DELETE/v1/customers/{id}/addresses/{addressId}Delete a customer address
GET/v1/customers/{id}/ordersGet customer orders

Cart

MethodEndpointOperation
POST/v1/cartCreate a new cart
GET/v1/cart/session/{sessionToken}Get cart by session token
GET/v1/cart/customer/{customerId}Get cart by customer ID
GET/v1/cart/{cartId}Get cart by ID
POST/v1/cart/{cartId}/itemsAdd item to cart
DELETE/v1/cart/{cartId}/itemsClear all items from cart
PATCH/v1/cart/{cartId}/items/{itemId}Update cart item (Public API)
DELETE/v1/cart/{cartId}/items/{itemId}Remove item from cart
POST/v1/cart/{cartId}/couponApply coupon to cart
DELETE/v1/cart/{cartId}/couponRemove coupon from cart
POST/v1/cart/mergeMerge guest cart into customer cart

Checkout

MethodEndpointOperation
POST/v1/checkoutCreate checkout from cart
GET/v1/checkout/{checkoutId}Get checkout (Public API)
DELETE/v1/checkout/{checkoutId}Delete a checkout
PATCH/v1/checkout/{checkoutId}/customerSet customer info on checkout
PATCH/v1/checkout/{checkoutId}/shipping-addressSet shipping address and get available rates
GET/v1/checkout/{checkoutId}/shipping-ratesGet available shipping rates
PATCH/v1/checkout/{checkoutId}/shipping-methodSelect shipping method (Public API)
GET/v1/checkout/{checkoutId}/pickup-pointsList carrier pickup points (Public API)
PUT/v1/checkout/{checkoutId}/pickup-pointChoose a carrier pickup point (Public API)
PATCH/v1/checkout/{checkoutId}/billing-addressSet billing address (Public API)
POST/v1/checkout/{checkoutId}/gift-cardApply a gift card to a checkout (Public API)
DELETE/v1/checkout/{checkoutId}/gift-card/{tenderId}Remove a gift card from a checkout (Public API)
POST/v1/checkout/{checkoutId}/couponApply coupon to checkout
DELETE/v1/checkout/{checkoutId}/couponRemove coupon from checkout
POST/v1/checkout/{checkoutId}/completeComplete checkout and create order

Gift cards

MethodEndpointOperation
POST/v1/gift-cards/balanceCheck a gift card balance (Public API)
GET/v1/gift-cardsList gift cards
POST/v1/gift-cardsIssue a gift card
GET/v1/gift-cards/liabilityOutstanding gift card liability
PATCH/v1/gift-cards/bulk/statusDisable or reactivate many gift cards
GET/v1/gift-cards/{id}Get a gift card and its full ledger
POST/v1/gift-cards/{id}/reissueRe-issue a gift card onto a new code
PATCH/v1/gift-cards/{id}/adjustAdjust a gift card balance
PATCH/v1/gift-cards/{id}/statusEnable, disable or revoke a gift card

Categories

MethodEndpointOperation
GET/v1/categoriesList categories with pagination
POST/v1/categoriesCreate a new category
GET/v1/categories/{id}Get a single category by ID
PATCH/v1/categories/{id}Update a category
DELETE/v1/categories/{id}Delete a category
POST/v1/categories/{id}/publish-sales-channelPublish a category to a sales-channel site
POST/v1/categories/{id}/unpublish-sales-channelUnpublish a category from a sales-channel site

Brands

MethodEndpointOperation
GET/v1/brandsList brands with pagination
POST/v1/brandsCreate a new brand
GET/v1/brands/{id}Get a single brand by ID
PATCH/v1/brands/{id}Update a brand
DELETE/v1/brands/{id}Delete a brand
POST/v1/brands/{id}/publish-sales-channelPublish a brand to a sales-channel site
POST/v1/brands/{id}/unpublish-sales-channelUnpublish a brand from a sales-channel site

Tags

MethodEndpointOperation
GET/v1/tagsList tags with pagination
POST/v1/tagsCreate a new tag
GET/v1/tags/{id}Get a single tag by ID
PATCH/v1/tags/{id}Update a tag
DELETE/v1/tags/{id}Delete a tag
POST/v1/tags/{id}/publish-sales-channelPublish a tag to a sales-channel site
POST/v1/tags/{id}/unpublish-sales-channelUnpublish a tag from a sales-channel site

Attributes

MethodEndpointOperation
GET/v1/attributesList attributes with pagination
POST/v1/attributesCreate a new attribute
GET/v1/attributes/{id}Get a single attribute by ID
PATCH/v1/attributes/{id}Update an attribute
DELETE/v1/attributes/{id}Delete an attribute
GET/v1/attributes/{id}/optionsGet attribute options
POST/v1/attributes/{id}/optionsCreate an attribute option

Shipping

MethodEndpointOperation
GET/v1/shipping/zonesList shipping zones with pagination
POST/v1/shipping/zonesCreate a new shipping zone
GET/v1/shipping/zones/{zoneId}Get a single shipping zone by ID
PATCH/v1/shipping/zones/{zoneId}Update a shipping zone
DELETE/v1/shipping/zones/{zoneId}Delete a shipping zone
GET/v1/shipping/zones/{zoneId}/ratesGet shipping rates for a zone
POST/v1/shipping/zones/{zoneId}/ratesCreate a shipping rate for a zone
PATCH/v1/shipping/zones/{zoneId}/rates/{rateId}Update a shipping rate
DELETE/v1/shipping/zones/{zoneId}/rates/{rateId}Delete a shipping rate

Tax

MethodEndpointOperation
GET/v1/tax/ratesList tax rates for the store
POST/v1/tax/ratesCreate a new tax rate
GET/v1/tax/rates/{rateId}Get a single tax rate by ID
PATCH/v1/tax/rates/{rateId}Update a tax rate
DELETE/v1/tax/rates/{rateId}Delete a tax rate
GET/v1/tax/presetsList available country tax presets
POST/v1/tax/presets/{presetKey}/applyApply a country tax preset

Tax classes

MethodEndpointOperation
GET/v1/tax-classesList the store tax classes
POST/v1/tax-classesCreate a tax class
GET/v1/tax-classes/{id}Get a tax class with its dependent counts
PATCH/v1/tax-classes/{id}Update a tax class
DELETE/v1/tax-classes/{id}Delete a tax class (409 while dependents exist)
PATCH/v1/tax-classes/{id}/set-defaultSet this tax class as the store default
POST/v1/tax-classes/{id}/assignBulk-assign a tax class to products / variants / categories
POST/v1/tax-classes/{id}/merge-into/{target}Merge this tax class into another, moving all FKs, then delete it

Regions

MethodEndpointOperation
GET/v1/regionsList the store regions
POST/v1/regionsCreate a region
GET/v1/regions/{regionId}Get a region
PATCH/v1/regions/{regionId}Update a region
DELETE/v1/regions/{regionId}Delete a region
GET/v1/regions/{regionId}/compatible-providersList installed providers compatible with this region
PATCH/v1/regions/{regionId}/set-defaultSet this region as the store default
PUT/v1/regions/{regionId}/payment-providersReplace the region enabled payment providers
GET/v1/regions/{regionId}/pricesList the region manual price overrides
PUT/v1/regions/{regionId}/pricesBulk upsert/remove the region manual price overrides
DELETE/v1/regions/{regionId}/prices/{priceId}Delete one manual price override
POST/v1/regions/{regionId}/countriesAdd countries to a region
DELETE/v1/regions/{regionId}/countries/{code}Remove a country from a region

Metafield definitions

MethodEndpointOperation
GET/v1/metafield-definitionsList metafield definitions
POST/v1/metafield-definitionsCreate a new metafield definition
GET/v1/metafield-definitions/{id}Get a single metafield definition by ID
PATCH/v1/metafield-definitions/{id}Update a metafield definition
DELETE/v1/metafield-definitions/{id}Delete a metafield definition
PUT/v1/metafield-definitions/{id}/platformsReplace platform publishing configuration

Email

MethodEndpointOperation
GET/v1/email/settingsGet email settings for store
PUT/v1/email/settingsUpdate email settings for store
GET/v1/email/templatesGet all email templates for store
POST/v1/email/templatesCreate a new email template
GET/v1/email/templates/{templateId}Get email template by ID
DELETE/v1/email/templates/{templateId}Delete an email template
PUT/v1/email/templates/{templateId}Update an email template
POST/v1/email/templates/{templateId}/previewPreview an email template with sample data

Storefront bot

MethodEndpointOperation
GET/v1/storefront-bot/settingsGet Storefront Bot settings for every connection on the store
PUT/v1/storefront-bot/settingsUpdate one connection’s Storefront Bot settings
GET/v1/storefront-bot/conversationsList Storefront Bot conversations
GET/v1/storefront-bot/conversations/{id}Get one Storefront Bot conversation transcript
POST/v1/storefront-bot/conversations/{id}/summarizeSummarize a Storefront Bot conversation

Metafield conflicts

MethodEndpointOperation
GET/v1/metafield-conflictsGet pending metafield conflicts
POST/v1/metafield-conflicts/{conflictId}/resolveResolve a metafield conflict
POST/v1/metafield-conflicts/{conflictId}/ignoreIgnore a metafield conflict

Oauth providers

MethodEndpointOperation
GET/v1/oauth-providersGet all OAuth provider configurations
POST/v1/oauth-providersConfigure an OAuth provider
GET/v1/oauth-providers/{provider}Get OAuth provider configuration
PATCH/v1/oauth-providers/{provider}Update OAuth provider configuration
DELETE/v1/oauth-providers/{provider}Delete OAuth provider configuration

Reviews

MethodEndpointOperation
PATCH/v1/reviews/{id}/hideHide a review from the storefront
PATCH/v1/reviews/{id}/showUnhide a previously hidden review

Review images

MethodEndpointOperation
PATCH/v1/review-images/{id}/hideHide a single review photo, leaving the review itself visible
PATCH/v1/review-images/{id}/showShow a review photo (also approves one that was awaiting a decision)

Newsletter benefit

MethodEndpointOperation
GET/v1/newsletter-benefit/settingsGet the newsletter signup benefit settings
PUT/v1/newsletter-benefit/settingsCreate or replace the newsletter signup benefit settings
GET/v1/newsletter-benefit/grantsList issued newsletter benefits
POST/v1/newsletter-benefit/grants/{grantId}/resendRe-send an issued newsletter benefit