Ankorstore Catalog API

ℹ️ This section describes the API endpoints that you can use to manage your catalog resources, such as products, product variants etc. ## 💡 Working with Products Here you will find information about the product resource and its sub-resources. If you need further information please refer to the API specification. ### Including Product Variants When retrieving the individual product via the API, you may pass an `?include=productVariants` query parameter that will return associated product variants inside the `included` root level object. ### Important Fields within Product Resource If the field contains no data, it will be `null`. ## 💡 Stock Management This API allows you to manage your product variants stock for the marketplace in both single- and bulk-operation mode. There are 2 opposite options available for the stock update requests - set an explicit product quantity or mark the corresponding product as "always in stock". ### Stock statuses Stock for the marketplace can be in one of two states. It can be `available` to order on the marketplace, or `reserved` for an order that has been submitted, but not yet shipped. Added together, these quantities make up the `onHand` state, which reflects the total quantity of the product variant "on hand" at your storage location(s). > ⚠️ **Unless specified otherwise, `stockQuantity` used in the following APIs refers to `onHand` quantity** See also [Stock State](#tag/folderName_Stock-Concepts/Stock-state) for more general information about stock states used in the Stock Tracking APIs. #### Example * 100 units of the product variant X are stock at your location (`onHand`). * 30 units of product variant X are `reserved` for Ankorstore orders that have not yet been shipped. * Then 70 units of product variant X are `available` to order on the marketplace. Now consider you produce 50 more units of product variant X, and sell 27 units on another marketplace. Your input for the stock update API would be: ``` // 100 + 50 - 27 = 133 "stockQuantity": 123 ``` ### Set product variant stock explicit quantity To set an explicit quantity for the particular product variant, you should specify the amount in the payload. In case if the target product variant was previously marked as "always in stock", this option will be disabled and the stock will be set to given value. Example of the payload to set a product variant stock to the given value (single-operation mode): `PATCH /api/v1/product-variants/1ed18988-6651-610e-8223-aa5cd9844f96/stock` ```json { "data": { "attributes": { "stockQuantity": 123 } } } ``` More details can be found in the endpoint specification ### Set product variant as "always in stock" To mark a particular product variant as "always in stock" and do not care about the stock amounts, you should include a flag `isAlwaysInStock` into the request payload. In case if the target product variant had explicit stock amount set previously, it will be reset. Example of the payload to set a product variant stock to the given value (single-operation mode): `PATCH /api/v1/product-variants/1ed18988-6651-610e-8223-aa5cd9844f96/stock` ```json { "data": { "attributes": { "isAlwaysInStock": true } } } ``` More details can be found in the endpoint specification ### Update stocks of multiple product variants in single request (bulk-operation mode) This API allows to update stocks of multiple product variants in single request. There is a specific endpoint which accepts up to 50 operations per request. Validation, business rules and payload of each operation is identical to the single-operation mode, described above. Example of the payload to update stocks of multiple product variants in single request: `POST /api/v1/operations` ```json { "atomic:operations": [ { "op": "update", "data": { "type": "productVariants", "id": "1ed18988-3253-610e-8223-aa5cd9844001", "attributes": { "isAlwaysInStock": true } } }, { "op": "update", "data": { "type": "productVariants", "id": "1ed18988-6651-610e-8223-aa5cd9844f96", "attributes": { "stockQuantity": 123 } } } ] } ``` More details can be found in the endpoint specification

Operations 8

GET /api/v1/products List Products #
GET /api/v1/products/{product} Get Product #
GET /api/v1/product-variants List Product Variants #
GET /api/v1/product-variants/{productVariant} Get Product Variant #
PATCH /api/v1/product-variants/{productVariant}/stock Update Product Variant Stock #
PATCH /api/v1/product-variants/{productVariant}/prices Update wholesale and retail prices of a product variant #
POST /api/v1/product-variants/{productVariant}/declare-fulfillment-item Declare product variant as fulfillment item #
GET /api/v1/product-variant-prices Get prices for product variants #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ankorstore:ankorstore-catalog-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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 Specification

ankorstore-catalog-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Ankorstore Public Catalog API
  description: 'The Ankorstore API enables brands and their partners to programmatically manage their presence on the

    Ankorstore wholesale marketplace.'
  contact:
    name: Ankorstore Support
    email: api@ankorstore.com
    url: https://www.ankorstore.com
  license:
    name: CC0 1.0 Universal
    url: https://creativecommons.org/publicdomain/zero/1.0/
  x-prefix: Ankorstore
  x-logo:
    url: https://cdn.ankorstore.com/images/logo/logo-black.svg
    altText: Ankorstore
    href: /
servers:
- url: https://www.public.ankorstore-sandbox.com
  description: Staging Environment
- url: https://www.ankorstore.com
  description: Production Environment
security:
- ProductionOAuth2ClientCredentials: []
tags:


# --- truncated at 32 KB (205 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/ankorstore/refs/heads/main/openapi/ankorstore-catalog-api-openapi.yml