Skip to main content

Platform API v1 Reference

Complete endpoint reference for the Huntrecht Platform API v1.

Base URL: /api/v1. See Authentication for the OAuth2 client-credentials flow.

Scopes​

Request scopes at token time; tokens carry only granted scopes (subset of the client's configured scopes).

  • read
  • write
  • orders:read
  • orders:write
  • payments:read
  • payments:write
  • subscriptions:read
  • subscriptions:write
  • users:read
  • users:write
  • credit:read
  • kyc:read
  • kyc:write
  • quotes:read
  • quotes:write
  • storefront:read
  • storefront:write
  • price_drops:read

Endpoints​

app-proxy​

MethodPathScopesDescription
GET/app-proxy/collections—Proxy endpoint for fetching collections via App Proxy.
GET/app-proxy/collections/{handle}—Proxy endpoint for fetching a single collection with products. HMAC verified.
GET/app-proxy/payment-methods—Get available payment methods based on customer role and product eligibility.
GET/app-proxy/price-drops—Proxy endpoint for fetching price drops for theme display.

auth​

MethodPathScopesDescription
POST/auth/revoke—Revoke an access or refresh token
POST/auth/token—Obtain an access token using client credentials.

clients​

MethodPathScopesDescription
GET/clients—List all API clients for the authenticated user.
POST/clients—Create a new API client and return credentials.
DELETE/clients/{client_id}—Delete an API client. This action is irreversible.
PATCH/clients/{client_id}—Update API client settings
POST/clients/{client_id}/rotate—Rotate the client secret. Invalidates the old secret immediately.

credit​

MethodPathScopesDescription
POST/credit/assesscredit:read, readAssess Credit Risk
GET/credit/score/{customer_email}credit:read, readGet Credit Score

greencloud​

MethodPathScopesDescription
GET/greencloud/pricing—Public GreenCloud pricing feed

kyc​

MethodPathScopesDescription
GET/kyckyc:read, readList KYC Submissions
POST/kyckyc:write, writeSubmit KYC
GET/kyc/{submission_id}kyc:read, readGet KYC Submission

linked-payments​

MethodPathScopesDescription
GET/linked-payments/check-eligibility—Check Payment Eligibility
POST/linked-payments/link-bankpayments:write, writeLink Bank Account
POST/linked-payments/link-walletpayments:write, writeLink Crypto Wallet
GET/linked-payments/linked-accounts/{customer_id}payments:read, readGet Linked Accounts

orders​

MethodPathScopesDescription
GET/ordersorders:read, readList Orders
POST/ordersorders:write, writeCreate Order
GET/orders/{order_id}orders:read, readGet Order

payments​

MethodPathScopesDescription
GET/paymentspayments:read, readList Payments
POST/paymentspayments:write, writeCreate Payment
GET/payments/{payment_id}payments:read, readGet Payment

price-drops​

MethodPathScopesDescription
GET/price-drops—List Price Drops
GET/price-drops/featured—Featured Price Drops

quotes​

MethodPathScopesDescription
GET/quotesquotes:read, readList Quotes
POST/quotesquotes:write, writeCreate Quote
GET/quotes/{quote_id}quotes:read, readGet Quote

storefront​

MethodPathScopesDescription
GET/storefront/collectionsread, storefront:readList Collections
GET/storefront/collections/{handle}read, storefront:readGet Collection
GET/storefront/productsread, storefront:readList Products
GET/storefront/products/{handle}read, storefront:readGet Product
GET/storefront/searchread, storefront:readSearch Products

subscriptions​

MethodPathScopesDescription
GET/subscriptionsread, subscriptions:readList Subscriptions
GET/subscriptions/{subscription_id}read, subscriptions:readGet Subscription

users​

MethodPathScopesDescription
GET/users/meread, users:readGet Current User
GET/users/{user_id}read, users:readGet User Profile

Versioning​

URL versioning (/api/v1/). New versions ship with advance deprecation notice; previous versions keep serving until the announced sunset.