Get feature options

Resolve a store/company to its owning company and returns plan feature options for feature-gating UI. Note: in the current source the success payload is always an empty array — the method validates the company exists, then returns successResponse([]).

Auth: Both — no authentication required (public route under, authentication is NOT applied). The endpoint scopes the target purely by the store_id/company_id query params: store_id resolves to its owning the location's company_id (only active/pending stores), or company_id is used directly. There is no ownership check or partner-tree check, so any caller can query any company.

Rate limit: 100 requests/min.

Request

  • Query: store_id (integer, required_without company_id, nullable) — must be a known location; resolved to its company_id.
  • Query: company_id (integer, required_without store_id, nullable) — must be a known account; used directly when store_id is absent.

Response{ data. } envelope.

  • data (array) — always an empty array [] on success in current source. Returns an error response ({ "message": "Company not found!" }) if the resolved company id does not exist.

Errors: 422 on validation failure.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Required without company_id — must exist in store.id

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json