Infumar API

Infumar API as documented publicly: 10 operations. Contract generated from the documentation by API Evangelist (2026-11-12); not the provider's own document.

GitHub OpenAPI

Operations 10

POST /api/v1/integrations/sync-products POST /api/v1/integrations/sync-products #
POST /api/v1/integrations/track-refund POST /api/v1/integrations/track-refund #
POST /api/v1/integrations/track-sale POST /api/v1/integrations/track-sale #
GET /integrations/status Bağlantının güncel durumunu döner. #
POST /integrations/sync-products Ürün kataloğunuzu gönderir (tam liste — gönderdiğiniz liste kataloğun yerine geçer). #
POST /integrations/track-cancellation İptal bildirir; komisyon geri alınır. #
POST /integrations/track-delivery Siparişin teslim edildiğini (kapıda ödemede: tahsil edildiğini) bildirir; kapıda ödemeli satış daha erken onaylanır. #
POST /integrations/track-refund İade bildirir; komisyon geri alınır (kısmi iade oranlı). #
POST /integrations/track-sale Bir siparişi affiliate satışı olarak bildirir. #
POST /integrations/verify Anahtarın çalıştığını doğrular ve bağlantıyı aktif işaretler. #

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/infumar-com:infumar-com-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

infumar-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Infumar API
  version: '2026-11-12'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-12: 10 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Infumar has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 7
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-12'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://infumar.com/developers
servers:
- url: https://api.infumar.com
paths:
  /api/v1/integrations/sync-products:
    post:
      operationId: post_api_v1_integrations_sync_products
      tags:
      - Api
      summary: POST /api/v1/integrations/sync-products
      x-source: https://infumar.com/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1IntegrationsSyncProductsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.infumar.com/api/v1/integrations/sync-products  -H \"X-API-Key: inf_...\"  -H \"Content-Type: application/json\"\
          \  -d '{\n \"products\": [\n {\n \"id\": \"SKU-1001\",\n \"name\": \"Kaşmir Kazak\",\n \"price\": 1450,\n \"discountPrice\": 1190,\n\
          \ \"description\": \"<p>%100 kaşmir, iki iplik örgü.</p>\",\n \"image\": \"https://www.magazaniz.com/img/1001.jpg\",\n \"images\": [\"\
          https://www.magazaniz.com/img/1001-ark"
  /api/v1/integrations/track-refund:
    post:
      operationId: post_api_v1_integrations_track_refund
      tags:
      - Api
      summary: POST /api/v1/integrations/track-refund
      x-source: https://infumar.com/developers
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch(\"https://api.infumar.com/api/v1/integrations/track-refund\", {\n method: \"POST\",\n headers: { \"X-API-Key\": process.env.INFUMAR_API_KEY,\
          \ \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ orderId: order.id })"
  /api/v1/integrations/track-sale:
    post:
      operationId: post_api_v1_integrations_track_sale
      tags:
      - Api
      summary: POST /api/v1/integrations/track-sale
      x-source: https://infumar.com/developers
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch(\"https://api.infumar.com/api/v1/integrations/track-sale\", {\n method: \"POST\",\n headers: {\n \"X-API-Key\": process.env.INFUMAR_API_KEY,\
          \ //never in the browser\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify({\n shortCode, //e.g. \"a1b2c3d4\"\n\
          \ orderId: order.id, //your own id — retries are idempotent on it\n orderTotal: order.total, //what the customer pays, after discounts\n\
          \ currency: "
  /integrations/status:
    get:
      operationId: get_integrations_status
      tags:
      - Integrations
      summary: Bağlantının güncel durumunu döner.
      x-source: https://infumar.com/developers
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /integrations/sync-products:
    post:
      operationId: post_integrations_sync_products
      tags:
      - Integrations
      summary: Ürün kataloğunuzu gönderir (tam liste — gönderdiğiniz liste kataloğun yerine geçer).
      x-source: https://infumar.com/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostIntegrationsSyncProductsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /integrations/track-cancellation:
    post:
      operationId: post_integrations_track_cancellation
      tags:
      - Integrations
      summary: İptal bildirir; komisyon geri alınır.
      x-source: https://infumar.com/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostIntegrationsTrackCancellationRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /integrations/track-delivery:
    post:
      operationId: post_integrations_track_delivery
      tags:
      - Integrations
      summary: 'Siparişin teslim edildiğini (kapıda ödemede: tahsil edildiğini) bildirir; kapıda ödemeli satış daha erken onaylanır.'
      x-source: https://infumar.com/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostIntegrationsTrackDeliveryRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /integrations/track-refund:
    post:
      operationId: post_integrations_track_refund
      tags:
      - Integrations
      summary: İade bildirir; komisyon geri alınır (kısmi iade oranlı).
      x-source: https://infumar.com/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostIntegrationsTrackRefundRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /integrations/track-sale:
    post:
      operationId: post_integrations_track_sale
      tags:
      - Integrations
      summary: Bir siparişi affiliate satışı olarak bildirir.
      x-source: https://infumar.com/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostIntegrationsTrackSaleRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostIntegrationsTrackSaleResponse'
      x-evidence:
        kind: documentation
  /integrations/verify:
    post:
      operationId: post_integrations_verify
      tags:
      - Integrations
      summary: Anahtarın çalıştığını doğrular ve bağlantıyı aktif işaretler.
      x-source: https://infumar.com/developers
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiV1IntegrationsSyncProductsRequest:
      type: object
      properties:
        products:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              price:
                type: integer
              discountPrice:
                type: integer
              description:
                type: string
              image:
                type: string
              images:
                type: array
                items:
                  type: string
              purchaseLink:
                type: string
              stock:
                type: integer
              isActive:
                type: boolean
              categories:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
    PostIntegrationsSyncProductsRequest:
      type: object
      properties:
        products:
          type: array
          description: Ürün listesi
        products[].id:
          type: string
          description: Ürün SKU
        products[].name:
          type: string
          description: Ürün adı
        products[].price:
          type: number
          description: Liste fiyatı
        products[].discountPrice:
          type: number
          description: İndirimli fiyat
        products[].description:
          type: string
          description: HTML açıklama
        products[].image:
          type: string
          description: Ana görsel URL
        products[].images:
          type: array
          description: Ek görsel URL’leri
        products[].purchaseLink:
          type: string
          description: Satın alma linki
        products[].stock:
          type: integer
          description: Stok adedi
        products[].isActive:
          type: boolean
          description: Ürün aktif mi
        products[].categories:
          type: array
          description: Kategori nesneleri
        products[].categories[].id:
          type: string
          description: Kategori ID
        products[].categories[].name:
          type: string
          description: Kategori adı
      required:
      - products
      - products[].id
      - products[].name
      - products[].price
      - products[].stock
      - products[].isActive
      - products[].categories[].id
      - products[].categories[].name
    PostIntegrationsTrackCancellationRequest:
      type: object
      properties:
        orderId:
          type: string
          description: İptal edilen sipariş ID’si
      required:
      - orderId
    PostIntegrationsTrackDeliveryRequest:
      type: object
      properties:
        orderId:
          type: string
          description: Teslim edilen sipariş ID’si
      required:
      - orderId
    PostIntegrationsTrackRefundRequest:
      type: object
      properties:
        orderId:
          type: string
          description: İade edilen sipariş ID’si
        refundAmount:
          type: number
          description: İade tutarı (kısmi iade)
        isFullRefund:
          type: boolean
          description: Tam iade ise true
      required:
      - orderId
    PostIntegrationsTrackSaleRequest:
      type: object
      properties:
        shortCode:
          type: string
          description: infumar_aff çerezinden alınan kısa kod
        orderId:
          type: string
          description: Mağaza sipariş ID’si
        orderTotal:
          type: number
          description: Müşterinin ödediği tutar
        currency:
          type: string
          description: 'Para birimi (örnek: TRY)'
        paymentOnDelivery:
          type: boolean
          description: Kapıda ödeme ise true
        products:
          type: array
          description: Satılan ürünler
        products[].productId:
          type: string
          description: sync‑products’da gönderilen ürün ID’si
        products[].name:
          type: string
          description: Ürün adı
        products[].price:
          type: number
          description: Birim fiyat
        products[].quantity:
          type: integer
          description: Adet
      required:
      - shortCode
      - orderId
      - orderTotal
      - currency
      - paymentOnDelivery
      - products
      - products[].productId
      - products[].name
      - products[].price
      - products[].quantity
    PostIntegrationsTrackSaleResponse:
      type: object
      properties:
        success:
          type: boolean
        attributed:
          type: boolean
        duplicate:
          type: boolean
        reason:
          type: string
          description: Hata nedeni (varsa)
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
security:
- apiKey: []
tags:
- name: Api
- name: Integrations