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_withoutcompany_id, nullable) — must be a known location; resolved to itscompany_id. - Query:
company_id(integer, required_withoutstore_id, nullable) — must be a known account; used directly whenstore_idis 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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
