Ankorstore Locations API
The Locations API from Ankorstore — 1 operation(s) for locations.
The Locations API from Ankorstore — 1 operation(s) for locations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ankorstore-locations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: 1.2.2-oas3.1
title: Ankorstore Stock Tracking and Logistics Locations API
summary: API specification for the Ankorstore Stock Tracking and Logistics system
description: Ankorstore Stock Tracking and Logistics (ASTRAL) API specification
contact:
name: Ankorstore
url: https://www.ankorstore.com
email: api@ankorstore.com
license:
url: https://creativecommons.org/publicdomain/zero/1.0/
name: CC0 1.0 Universal
servers:
- url: http://www.ankorlocal.com:8000
description: Local Development Server
- url: https://www.preprod.ankorstore.com
description: Staging Environment
- url: https://www.ankorstore.com
description: Prod Environment
tags:
- name: Locations
paths:
/api/astral/v1/stock/locations:
get:
tags:
- Locations
summary: List locations
description: Return the list of available locations
operationId: list-locations
parameters:
- $ref: '#/components/parameters/acceptInHeader'
- $ref: '#/components/parameters/xAksBrandUuidHeader'
- $ref: '#/components/parameters/xAksRetailerUuidHeader'
- $ref: '#/components/parameters/locationTypeFilter'
- $ref: '#/components/parameters/externalIdFilter'
- $ref: '#/components/parameters/pageLimit'
- $ref: '#/components/parameters/pageBefore'
- $ref: '#/components/parameters/pageAfter'
responses:
default:
$ref: '#/components/responses/ErrorResponse'
'200':
$ref: '#/components/responses/LocationCollectionResponse'
components:
schemas:
id:
type: string
format: uuid
description: '[resource object identifier](https://jsonapi.org/format/#document-resource-object-identification)'
paginationLinks:
description: Pagination links
type: object
properties:
first:
type: string
example: https://www.ankorstore.com/api/v1/orders?page[limit]=15
nullable: true
prev:
type: string
example: https://www.ankorstore.com/api/v1/orders?page[before]=1189606a-139e-4b4e-917c-b0c992498bad2&page[limit]=15
nullable: true
next:
type: string
example: https://www.ankorstore.com/api/v1/orders?page[after]=1189606a-139e-4b4e-917c-b0c992498bad&page[limit]=15
nullable: true
required:
- first
- next
- prev
jsonapi:
type: object
description: An object describing the server's implementation
additionalProperties: false
properties:
version:
type: string
meta:
$ref: '#/components/schemas/meta'
meta:
type: object
description: Non-standard meta-information that can not be represented as an attribute or relationship.
Location:
type: object
properties:
type:
$ref: '#/components/schemas/LocationType'
externalId:
description: Identifier of the external entity that this location refers to (brandUuid, warehouseUuid, etc)
type: string
format: uuid
required:
- type
- externalId
LocationType:
type: string
enum:
- warehouse
- brand
- retailer
LocationResource:
type: object
properties:
type:
$ref: '#/components/schemas/type'
id:
$ref: '#/components/schemas/id'
attributes:
$ref: '#/components/schemas/Location'
required:
- type
- id
- attributes
ErrorMeta:
type: object
properties:
stack:
type: array
items:
type: string
paginationPage:
description: Cursor pagination details
type: object
properties:
from:
type: string
pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}(,\d{10})?$
nullable: true
to:
type: string
pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}(,\d{10})?$
nullable: true
hasMore:
type: boolean
perPage:
type: integer
required:
- from
- to
- hasMore
- perPage
type:
type: string
description: '[resource object type](https://jsonapi.org/format/#document-resource-object-identification)'
Error:
type: object
required:
- status
- title
properties:
status:
type: integer
source:
type: object
properties:
pointer:
type: string
title:
type: string
detail:
type: string
meta:
$ref: '#/components/schemas/ErrorMeta'
paginationMeta:
type: object
description: Meta with Pagination Details
additionalProperties: true
properties:
page:
$ref: '#/components/schemas/paginationPage'
required:
- page
parameters:
xAksBrandUuidHeader:
name: X-Aks-Brand-Uuid
in: header
description: Brand entity when none provided via auth token
schema:
type: string
format: uuid
nullable: true
acceptInHeader:
name: Accept
in: header
description: application/vnd.api+json
schema:
type: string
default: application/vnd.api+json
pageLimit:
name: page[limit]
in: query
description: limit the amount of results returned
required: false
schema:
type: integer
format: int
default: 10
externalIdFilter:
name: filter[externalId]
in: query
description: An external identifier to match on
required: false
schema:
type: string
format: uuid
locationTypeFilter:
name: filter[locationTypes][]
in: query
description: A set of location types to check quantities at
required: false
schema:
type: array
minItems: 1
items:
$ref: '#/components/schemas/LocationType'
pageBefore:
name: page[before]
in: query
description: show items before the provided ID (uuid format)
required: false
schema:
type: string
format: uuid
xAksRetailerUuidHeader:
name: X-Aks-Retailer-Uuid
in: header
description: Retailer entity when none provided via auth token
schema:
type: string
format: uuid
nullable: true
pageAfter:
name: page[after]
in: query
description: show items after the provided ID (uuid format)
required: false
schema:
type: string
format: uuid
responses:
ErrorResponse:
description: Example response
content:
application/vnd.api+json:
schema:
type: object
properties:
errors:
type: array
items:
$ref: '#/components/schemas/Error'
jsonapi:
$ref: '#/components/schemas/jsonapi'
required:
- errors
LocationCollectionResponse:
description: Set of locations
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/LocationResource'
jsonapi:
$ref: '#/components/schemas/jsonapi'
meta:
$ref: '#/components/schemas/paginationMeta'
links:
$ref: '#/components/schemas/paginationLinks'
required:
- data
- jsonapi
securitySchemes:
CookieKey:
type: apiKey
name: ankorstore_session
in: cookie