Full Object Index
A comprehensive reference of every resource type, schema, enum, query parameter, and header in the Blaze ECOM Storefront API.
What you'll learn
- Every JSON
typevalue the API returns and what it represents - All schemas defined in the OpenAPI spec, grouped by domain, with their fields and types
- Every enum value used across the API
- Common query parameters available for filtering and pagination
- Required and optional headers for API requests
Prerequisites
- Familiarity with the JSON
specification - Read the Quick Start guide to understand the basic request/response flow
- A valid
X-Storeheader value (store UUID) — most endpoints are store-scoped
Resource Types
Every response from the API wraps data in JSON
type field identifies the kind of resource. Here is a complete list of all resource types the API returns.
Core Commerce
| Type | Description | Key endpoint(s) |
|---|---|---|
stores |
A retail store with location, hours, and configuration | GET /api/v1/store, GET /api/v1/groups/stores |
store_products |
A product available at a store | GET /api/v1/products, GET /api/v2/products/{id} |
product_categories |
A product category (e.g. Flower, Edibles) | GET /api/v1/products/categories, GET /api/v2/products/categories |
product_brands |
A store-level product brand | GET /api/v1/products/brands, GET /api/v2/products/brands |
global_brands |
A global brand (cross-store), sideloaded via included |
GET /api/v2/products/{id} (included) |
product_types |
A product type classification (e.g. Hybrid, Indica) | GET /api/v1/products/types |
product_images |
A product image, sideloaded via included |
GET /api/v2/products/{id} (included) |
tags |
A product tag (e.g. new-arrival, staff-pick) | GET /api/v1/products/tags |
price_ranges |
Min/max price range for the store catalog | GET /api/v1/products/price-ranges |
filters |
Filter catalog metadata (categories, types, brands, weights, potency ranges) | GET /api/v1/products/filters, GET /api/v2/products/filters |
showcased_products |
A curated product showcase group | GET /api/v1/products/showcased |
Cart & Orders
| Type | Description | Key endpoint(s) |
|---|---|---|
carts |
A shopping cart | POST /api/v5/carts, GET /api/v5/carts/{uuid} |
cart_items |
An item within a cart, sideloaded via included |
POST /api/v5/carts/{cart_uuid}/items |
orders |
A placed order | POST /api/v4/orders, GET /api/v1/orders/{uuid} |
order_items |
An item within an order, sideloaded via included |
GET /api/v1/orders/{uuid} (included) |
User & Account
| Type | Description | Key endpoint(s) |
|---|---|---|
users |
A user account | GET /api/v1/users/me, POST /api/v1/auth/login |
billing |
User billing information | GET /api/v1/users/me/billing |
loyalty |
User loyalty points and tier | GET /api/v3/users/me/loyalty |
rewards |
A redeemable reward | GET /api/v1/users/me/rewards, GET /api/v1/store/deals/rewards |
identity_verifications |
Identity verification status | GET /api/v1/users/me/identity-verification |
Payments
| Type | Description | Key endpoint(s) |
|---|---|---|
payment_options |
A payment method available at the store | GET /api/v1/store/payment-options |
payment_sources |
A saved payment source (card, bank account) | GET /api/v1/store/payments/{service}/sources |
payment_tokens |
A client-side payment provider token | GET /api/v1/store/payments/{service}/token |
payment_sessions |
A payment session for client-side initialization | POST /api/v1/store/payments/{service}/sessions |
payments |
A payment charge result | POST /api/v1/store/payments/{service}/orders/{uuid}/pay |
payment_promotions |
A payment-service-specific promotion | GET /api/v1/store/payments/{service}/promotions |
payment_redeemable_promotions |
Request type for checking redeemable promotions | POST /api/v1/store/payments/{service}/promotions/redeemable |
tips |
A tip charge result | POST /api/v1/store/payments/{service}/tip |
Deals
| Type | Description | Key endpoint(s) |
|---|---|---|
promotions |
A store promotion or deal | GET /api/v1/store/deals/promotions |
Store Content
| Type | Description | Key endpoint(s) |
|---|---|---|
store_settings |
Store settings and feature flags | GET /api/v1/store/settings |
store_configurations |
Store configuration including group and site info | GET /api/v1/store/configuration |
schedules |
Weekly schedule entries for a store | GET /api/v1/store/schedules/{schedule_type} |
availabilities |
Available time slots for pickup or delivery | GET /api/v1/store/availabilities/{schedule_type} |
promotional_banners |
A promotional banner for the storefront | GET /api/v1/store/site/promotional-banners |
social_networks |
A store social network link | GET /api/v1/store/socials |
store_pages |
A custom store page (About, FAQ, etc.) | GET /api/v1/store/pages |
Delivery
| Type | Description | Key endpoint(s) |
|---|---|---|
delivery_stores |
Delivery availability result for a store (v4) | POST /api/v4/deliveries/stores |
addresses |
Request type for delivery store checks | POST /api/v3/deliveries/stores |
Notifications
| Type | Description | Key endpoint(s) |
|---|---|---|
devices |
A registered push notification device | POST /api/v1/users/me/devices |
notifications |
An informational/notification message | Verification and recovery responses |
Ads
| Type | Description | Key endpoint(s) |
|---|---|---|
recommendations |
Request type for sponsored product endpoints | POST /api/v1/products/sponsored |
Schemas
All schemas defined in components/schemas of the OpenAPI specification, grouped by domain.
JSON
Envelope
These schemas define the standard JSON
JsonApiDocument
Standard JSON
data—JsonApiResource | JsonApiResource[]— The primary resource(s)included—JsonApiResource[]— Sideloaded related resourcesmeta—JsonApiMeta— Pagination metadata
JsonApiResource
A single JSON
id—string— Unique identifier (UUID). Requiredtype—string— Resource type name (e.g."products","carts"). Requiredattributes—object— Resource-specific fields. Requiredrelationships—object<string, JsonApiRelationship>— Related resources
JsonApiRelationship
A JSON
data—JsonApiResourceIdentifier | JsonApiResourceIdentifier[] | null— Related resource identifier(s)
JsonApiResourceIdentifier
A JSON
id—string— Requiredtype—string— Required
JsonApiMeta
Pagination metadata.
total—integer— Total number of matching resultslimit—integer— Maximum results per pageoffset—integer— Current offset
JsonApiRequestBody
Standard JSON
data.id—string— Resource ID (required for updates)data.type—string— Resource type name. Requireddata.attributes—object— Resource fields to create or update. Requireddata.relationships—object<string, JsonApiRelationship>— Related resources
JsonApiErrorResponse
Standard JSON
errors—JsonApiError[]— Array of error objects
JsonApiError
A single JSON
code—string— Machine-readable error code (e.g."bad_login","not_found")status—string— HTTP status code as a string (e.g."400")detail—string— Human-readable error messagesource.pointer—string— JSON pointer to the field that caused the error (e.g."/data/attributes/email")extra_info—object— Additional error context (e.g.api_error_code,items)
Authentication
LoginRequest
data.type—string— Must be"users". Requireddata.attributes.email—string (email)— User email (provide email OR phone_number)data.attributes.phone_number—string— Phone number with country code (e.g."+15551234567")data.attributes.password—string (password)— User password. Required
LoginResponse
data.id—stringdata.type—string—"users"data.attributes.token—string— JWT access tokendata.attributes.email—stringdata.attributes.first_name—stringdata.attributes.last_name—string
VerificationRequest
data.type—string— Must be"users". Requireddata.attributes.phone_number—string— Phone number with country codedata.attributes.email—string (email)— Email address
VerificationCheckRequest
data.type—string— Must be"users". Requireddata.attributes.code—string— Verification code received via SMS or email. Requireddata.attributes.email—string (email)data.attributes.phone_number—stringdata.attributes.verification_mode—string— Verification mode (e.g."sms","email")data.attributes.password—string (password)data.attributes.password_confirmation—string (password)data.attributes.first_name—stringdata.attributes.last_name—stringdata.attributes.date_of_birth—integer— Unix timestamp in millisecondsdata.attributes.marketing_source—stringdata.attributes.marketing_email_opt_in—booleandata.attributes.marketing_sms_opt_in—booleandata.attributes.state_residency—stringdata.attributes.identity_verification_id—string | null
RecoverPasswordRequest
data.type—string— Must be"users". Requireddata.attributes.email—string (email)— Email address (provide email OR phone_number)data.attributes.phone_number—string— Phone number with country code
ResetPasswordRequest
data.type—string— Must be"users". Requireddata.attributes.password—string (password)— Requireddata.attributes.password_confirmation—string (password)— Requireddata.attributes.email—string (email)data.attributes.phone_number—stringdata.attributes.code—string— Verification code (when resetting via phone)
TokenResponse
data.id—stringdata.type—stringdata.attributes.token—string— JWT access token
NotificationResponse
data.id—stringdata.type—string—"notifications"data.attributes.message—stringdata.attributes.level—string— One of:info,warning,error
Store
StoreAttributes
name—string— Store display nameslug—string— URL-friendly store identifieraddress—stringcity—stringstate—stringzip_code—stringcountry—stringlatitude—number (double)longitude—number (double)phone—stringemail—stringis_active—booleanpoint_of_sales—string— POS provider (blaze,treez,leaflogix,greenline,cova)delivery_enabled—booleanpickup_enabled—booleantimezone—string— e.g."America/Los_Angeles"
StoreSettingsResponse
data.type—string—"store_settings"data.attributes—object— Dynamic key-value settings (varies per store configuration)
StoreConfigurationResponse
data.type—string—"store_configurations"data.attributes—object— Store configuration fields including group and site data
ScheduleEntry
id—stringtype—string—"schedules"attributes.weekday—string— Day of the week (e.g."monday")attributes.is_closed—booleanattributes.intervals—array— Open/close time intervalsstart—string— Start time in HHformat end—string— End time in HHformat
PaymentOptionAttributes
id—stringname—stringservice—string— Payment provider service nameis_active—booleanis_default—booleanpayment_type—string— Payment type (e.g."credit_card","debit","cash")
SocialNetworkAttributes
name—string— Social network name (e.g."instagram","facebook")url—string (uri)
StorePageAttributes
id—stringtitle—stringslug—stringcontent—string— Page content (may contain HTML)is_active—booleanposition—integer
PromotionalBannerAttributes
id—stringtitle—string | nullsubtitle—string | nullimage_url—string (uri)link_url—string | nullposition—integeris_active—boolean
AvailabilitySlot
date—string (date)slots—array— Time slot liststart—string— Slot start time in HHformat end—string— Slot end time in HHformat available—boolean
Products
ProductAttributes
name—string— Product display nameslug—string— URL-friendly product identifiersku—string— Stock keeping unit codedescription—string— Product description (may contain HTML)external_id—string— External ID from the POS systemtype—string— Product type (e.g."Hybrid","Indica","Sativa")strain—string | null— Cannabis strain nameflower_type—string | null— Flower type classificationcomposition—string | null— Product form (e.g."Flower","Edible","Concentrate")thc—string | null— THC percentage or rangecbd—string | null— CBD percentage or rangemin_cbd—number (double) | null— Minimum CBD percentagepotency—string | null— Overall potency levelterpenoids—string[]— List of terpenoid profilescannabis_weight—number (double) | null— Cannabis net weightsize—string | null— Product size labelmain_image—string (uri) | null— URL to the main product imagein_stock—boolean— Whether the product is currently in stockis_promoted—boolean— Whether the product is promoted/featureddiscount—number (double) | null— Discount percentageunit_price—number (double) | null— Base unit priceunit_prices—UnitPriceItem[]— Detailed pricing per unit/quantityweight_prices—WeightPriceItem[]— Pricing per weight tier
UnitPriceItem
display_name—string— Human-readable label (e.g."1 unit","1/8 oz")quantity—number (double)price.amount—number (double)price.currency—string— e.g."USD"discount_price—number (double) | nullsavings_per_unit—number (double) | null
WeightPriceItem
weight—number (double)weight_unit—stringprice—number (double)original_price—number (double) | nullin_stock—boolean
ProductVariant
id—stringname—stringprice—number (double)original_price—number (double)weight—number (double)weight_unit—stringin_stock—booleanquantity_available—integer
CategoryAttributes
id—stringname—stringslug—stringdescription—string | nullcount—integer— Number of products in this categoryposition—integeris_active—booleanicon_url—string (uri) | nullparent_category_id—string | null
BrandAttributes
id—stringname—stringslug—stringdescription—string | nullexternal_id—string | nulllogo_url—string (uri) | nullcount—integer— Number of products for this brandis_promoted—boolean
TagAttributes
name—stringtitle—string | nulldescription—string | nullcount—integerposition—integeris_active—booleanis_featured—booleanis_hidden—boolean
TypeAttributes
id—string— Type identifier (e.g."Hybrid")name—stringcount—integer
PriceRangeAttributes
min—number (double)max—number (double)
ShowcasedGroupAttributes
name—stringslug—stringtype—string— Showcase grouping typedescription—string | null
Filters
FiltersV2Response
data.type—string—"filters"data.attributes.price_ranges—PriceRangeAttributes— Min/max price rangedata.attributes.weights—number[]— Available weight optionsdata.attributes.thc_ranges—object— THC range filtermin—numbermax—numberunit—string
data.attributes.cbd_ranges—object— CBD range filtermin—numbermax—numberunit—string
data.attributes.on_sale—objectcount—integer
data.relationships.types—JsonApiRelationshipdata.relationships.tags—JsonApiRelationshipdata.relationships.categories—JsonApiRelationshipdata.relationships.brands—JsonApiRelationshipincluded—JsonApiResource[]— Sideloaded types, tags, categories, brands
Cart
CartAttributes
status—string— Cart status (e.g."open","validated","submitted")delivery_type—string | null— Selected delivery type (e.g."pickup","delivery")promo_codes—string[]— Applied promotional codesreward_id—string | null— Applied reward IDsubtotal—number (double) | null— Cart subtotal before taxes and feestotal—number (double) | null— Cart total including taxes and feestax—number (double) | null— Total tax amountdiscount—number (double) | null— Total discount amountdelivery_fee—number (double) | null— Delivery feeitem_count—integer— Number of items in the cartdelivery_specification—object | null— Delivery specification (address, time slot, delivery type)
CartCreateRequest
data.type—string— Must be"carts". Requireddata.attributes.delivery_specification—object | null— Initial delivery specificationdata.attributes.inventory_type—string | null— Inventory type preference (e.g."delivery","pickup")data.attributes.conversion_breadcrumb—string | null— Conversion tracking breadcrumbdata.attributes.item—object— First item to add. Requiredproduct_id—string— Product UUID. Requiredquantity—integer— Quantity (minimum: 1). Requiredweight—number (double) | null— Weight selection for weight-based products
CartUpdateRequest
data.id—string— Cart UUID. Requireddata.type—string— Must be"carts". Requireddata.attributes.promo_codes—string[]— Promotional codes to applydata.attributes.reward_id—string | null— Reward ID to apply
CartItemRequest
data.id—string— Cart item UUID (required for updates)data.type—string— Must be"cart_items". Requireddata.attributes.product_id—string— Product UUID. Requireddata.attributes.quantity—integer— Item quantity (minimum: 1). Requireddata.attributes.weight—number (double) | null— Weight for weight-based products
CartItemAttributes
product_id—string— Product UUIDquantity—integer— Item quantityweight—number (double) | null— Weight for weight-based productsunit_price—number (double) | null— Unit pricetotal_price—number (double) | null— Total price (unit_price × quantity)discount—number (double) | null— Discount applied to this item
DeliverySpecificationRequest
data.id—string— Cart UUID. Requireddata.type—string— Must be"carts". Requireddata.attributes.delivery_specification—object— Requiredtype—string— Fulfillment type:"pickup","delivery", or"kiosk". Requiredmode—string— Delivery mode:"asap","scheduled", or"express". Required (default:"asap")address—object | null— Customer delivery address (required fordeliverytype)address—string— Street addressaddress_line2—string | null— Apartment, suite, unitcity—stringstate—string | nullzip_code—stringcountry—string— (default:"US")lat—number (double) | null— Required for geo-zone storeslng—number (double) | null— Required for geo-zone stores
scheduled_start_time—string (date-time) | null— Required when mode is"scheduled"scheduled_end_time—string (date-time) | null— Required when mode is"scheduled"delivery_inventories—integer[] | null— Optional inventory IDs (for express delivery)
Delivery
DeliveryStoresRequest
data.type—string— Must be"addresses". Requireddata.attributes.address—object— Delivery addressaddress—string— Street addressaddress_line2—string | nullcity—stringcountry—stringstate—stringzip_code—stringlat—number (double) | nulllng—number (double) | null
data.attributes.preferred_inventories—string[] | null— Preferred inventory typesdata.attributes.mode—string | null— Delivery mode filter
DeliveryStoreAttributes
Returned by the v4 delivery stores endpoint with detailed availability info.
delivery_zip_code—string | null— The zip code that was checkedavailable_products_at_zip_code_count—integer— Products available for deliveryopen_schedule—boolean— Whether the delivery schedule is currently opendelivers_to_zip_code—boolean— Whether the store delivers to the given addressmode—string | null— Delivery mode this result applies to ("express","scheduled", ornull)unavailable_reason—string | null— Reason the store cannot deliver ("not_delivering","closed","no_products", ornull)alternative_mode—string | null— An alternative delivery mode that is availablenext_open_schedule—string (date-time) | null— Next time the delivery schedule openschosen_delivery_inventories—integer[] | null— Inventory IDs chosen for this deliveryavailable_delivery_inventories—integer[] | null— All inventory IDs available
Orders
OrderCreateRequest
data.type—string— Must be"orders". Requireddata.attributes.cart_uuid—string— Cart UUID to convert into an order. Requireddata.attributes.notes—string | null— Customer order notes
OrderAttributes
status—string— Order status (e.g."pending","confirmed","completed","cancelled")order_number—string | null— Human-readable order numbersubtotal—number (double) | nulltotal—number (double) | nulltax—number (double) | nulldiscount—number (double) | nulldelivery_fee—number (double) | nulldelivery_type—string | null—"pickup"or"delivery"delivery_date—string | null— Scheduled delivery/pickup datedelivery_time_slot—string | null— Scheduled time slotnotes—string | null— Customer notescreated_at—string (date-time)updated_at—string (date-time)
User
UserAttributes
email—string (email) | nullphone_number—string | nullfirst_name—string | nulllast_name—string | nullzip_code—string | nulladdress—object | null— User addressbilling_address—object | null— Billing addressdate_of_birth—integer | null— Unix timestamp in millisecondsmarketing_email_opt_in—boolean | nullmarketing_sms_opt_in—boolean | nullmedical_id—object | nullnumber—stringexpiration_date—string (date) | null
drivers_license_id—object | nullnumber—stringexpiration_date—string (date) | null
customer_type—string | nullis_confirmed—booleanis_active—booleantoken—string | null— JWT token (included in login/register responses)
UserUpdateRequest
data.type—string— Must be"users". Requireddata.attributes.first_name—stringdata.attributes.last_name—stringdata.attributes.zip_code—stringdata.attributes.address—objectdata.attributes.billing_address—objectdata.attributes.date_of_birth—integer— Unix timestamp in millisecondsdata.attributes.marketing_email_opt_in—booleandata.attributes.marketing_sms_opt_in—booleandata.attributes.medical_id—object—{ number, expiration_date }data.attributes.drivers_license_id—object—{ number, expiration_date }
BillingAttributes
address—object | nulladdress—stringaddress_line2—string | nullcity—stringstate—stringzip_code—stringcountry—string
BillingUpdateRequest
data.type—string— Must be"billing". Requireddata.attributes.address—objectaddress—stringaddress_line2—string | nullcity—stringstate—stringzip_code—stringcountry—string
LoyaltyAttributes
points—number | null— Current loyalty points balancetier—string | null— Current loyalty tierlifetime_points—number | null— Total points earned lifetime
IdentityVerificationAttributes
service—string— Verification service (e.g."berbix")status—string | null— Verification statusidentity_verification_id—string | null— External verification IDclient_token—string | null— Client-side token for verification SDK
IdentityVerificationCreateRequest
data.type—string— Must be"identity_verifications". Requireddata.attributes.identity_verification_id—string | null
Payments
PaymentSourceAttributes
external_id—string | null— External payment provider IDtoken—string | null— Payment source tokenlast_four—string | null— Last four digits of card numbercard_type—string | null— Card brand (e.g."visa","mastercard")expiration_month—integer | nullexpiration_year—integer | nullis_default—boolean— Whether this is the default payment source
PaymentSourceRequest
data.type—string— Must be"payment_sources". Requireddata.attributes—object— Payment source fields (vary by provider)
PaymentChargeRequest
data.type—string— Must be"payments_charge". Requireddata.attributes—object— Payment charge fields (vary by provider — may includesource_id,token,nonce,amount)
TipRequest
data.type—string— Must be"payment_sources". Requireddata.attributes.external_id—string— Order external IDdata.attributes.percentage—number— Tip percentage
RedeemablePromotionsRequest
data.type—string— Must be"payment_redeemable_promotions". Requireddata.attributes.charge_amount—number— Charge amount to check promotions against
Deals
PromotionAttributes
name—string— Promotion nameslug—string— URL-friendly promotion identifierdescription—string | nullimage_url—string (uri) | nulldiscount_type—string | null— e.g."percentage","fixed_amount"discount_value—number (double) | nullis_active—booleanstart_date—string (date-time) | nullend_date—string (date-time) | null
RewardAttributes
name—string— Reward nameslug—string— URL-friendly reward identifierdescription—string | nullimage_url—string (uri) | nullpoints_required—integer | null— Points required to redeemdiscount_type—string | null— e.g."percentage","fixed_amount"discount_value—number (double) | nullis_active—boolean
Notifications
DeviceRegistrationRequest
data.type—string— Must be"devices". Requireddata.attributes.device_token—string— Push notification device tokendata.attributes.platform—string— Device platform (e.g."ios","android","web")
Ads & Sponsored
SponsoredRequestBody
Request body for sponsored product endpoints.
data.type—string— Must be"recommendations". Requireddata.attributes.url—string— Current page URLdata.attributes.screen—objectheight—integerwidth—integer
data.attributes.navigator—objectuser_agent—stringlanguage—string
data.attributes.mobile—booleandata.attributes.account_id—string | nulldata.attributes.site_id—string | nulldata.attributes.channel_id—string | nulldata.attributes.channel_type—string | nulldata.attributes.zone_id—string | nulldata.attributes.client_ip—string | nulldata.attributes.surfside_domain_id—string | nulldata.attributes.session_id—string | nulldata.attributes.store_location_data—object | nulldata.attributes.location_data—object | nullzip—string | nullcountry—string | nullcity—string | nullregion—string | nullutc_offset—string | nulltimezone—string | nullcoords—objectlatitude—number | nulllongitude—number | nullaccuracy—number | null
Webhooks
WebhookPayload
Generic webhook inbound payload. Content varies by event type — the schema uses additionalProperties: true.
Enums
All enumerated values used across the API.
delivery_type
Fulfillment type for carts and orders.
pickup— Customer picks up at the storedelivery— Store delivers to the customer's addresskiosk— Order placed at an in-store kiosk
delivery_mode
Delivery timing mode.
asap— Fulfill as soon as possiblescheduled— Fulfill at a chosen time slot (requiresscheduled_start_timeandscheduled_end_time)express— Express delivery (requires geo-zone support)
order_status
Order lifecycle status values.
pending— Order placed, awaiting confirmationconfirmed— Order confirmed by the storeready_for_pickup— Order is ready for customer pickupcompleted— Order fulfilledcancelled— Order cancelled
cart_status
Cart lifecycle status values.
open— Cart is active and editablevalidated— Cart has been validated and is ready for checkoutsubmitted— Cart has been converted to an order
schedule_type
Type of schedule to query.
pickup— Pickup scheduledelivery— Delivery scheduleoperating— General operating hours
point_of_sales
Supported POS (Point of Sale) providers.
blaze— Blaze POStreez— Treez POSleaflogix— LeafLogix POSgreenline— Greenline POScova— Cova POS
payment_type
Payment method types.
credit_card— Credit carddebit— Debit cardcash— Cash payment
payment_service
Payment provider service names.
stronghold— Strongholdmoneris— Monerisadyen— Adyenaeropay— Aeropayswifter— Swifterledgergreen— LedgerGreengreenbax— Greenbaxmerrco— Merrcospence— Spencecash— Cash (no provider)
discount_type
Discount calculation types.
percentage— Percentage discount (e.g. 20% off)fixed_amount— Fixed dollar amount discount (e.g. $5 off)
notification_level
Notification severity levels.
info— Informational messagewarning— Warning messageerror— Error message
unavailable_reason
Reasons a store cannot deliver to an address.
not_delivering— Store does not deliver to this areaclosed— Store delivery schedule is currently closedno_products— No products available for delivery at this address
device_platform
Push notification device platforms.
ios— Apple iOSandroid— Androidweb— Web browser
identity_verification_service
Supported identity verification services.
berbix— Berbix identity verification
Common Query Parameters
Parameters available across multiple endpoints for filtering, sorting, and pagination.
Pagination
limit—integer— Maximum number of results to return. Default:20. Min:1, Max:100offset—integer— Number of results to skip. Default:0. Min:0
Sorting
order—string— Sort order for results. Common values:name_asc— Sort by name ascendingname_desc— Sort by name descendingprice_asc— Sort by price ascendingprice_desc— Sort by price descending
Product Filters
These parameters are available on product listing endpoints (GET /api/v1/products, POST /api/v1/products/sponsored):
category—string— Filter by category slug or IDsubcategory—string— Filter by subcategoryproduct_type—string— Filter by product type (e.g."flower","edible")brand—string— Filter by brand slug or IDtags—string— Filter by tag (comma-separated for multiple)min_price—number— Minimum price filtermax_price—number— Maximum price filtersearch—string— Full-text search query
Sponsored-Specific Filters
Available on sponsored product endpoints:
type—string— Filter by product typetag—string— Filter by tagq—string— Full-text search query
Other Filters
delivery_type—string— Filter payment options by delivery type (pickupordelivery). Used onGET /api/v1/store/payment-options
Headers
Required Headers
-
X-Store—string (uuid)— The UUID of the store to scope the request to. Required on all store-scoped endpoints.- Example:
X-Store: e87437f2-3e35-4738-af5e-6307e368255c
- Example:
-
Content-Type—string— Must beapplication/vnd.api+jsonfor all request bodies. -
Accept—string— Should beapplication/vnd.api+jsonfor all requests.
Conditional Headers
-
Authorization—string— JWT Bearer token for authenticated endpoints. Format:Bearer {token}.- Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9...
- Example:
-
X-Group—string (uuid)— The UUID of the group. Required on group-scoped endpoints (e.g.GET /api/v1/groups/stores).- Example:
X-Group: a1b2c3d4-e5f6-7890-abcd-ef1234567890
- Example:
-
X-Kiosk—string (uuid)— The UUID of the kiosk device. Required for kiosk-specific endpoints.- Example:
X-Kiosk: k1o2s3k4-u5u6-i7d8-9012-abcdef123456
- Example: