naftiko: 1.0.0-alpha2 info: label: Target Retail Integration description: Unified retail integration capability for Target partner integrations. Combines product catalog, inventory availability, store locator, and order management APIs into customer-facing workflows for e-commerce platforms, affiliate marketers, and retail technology partners. tags: - E-Commerce - Retail - Products - Inventory - Stores - Orders - Target created: '2026-05-03' modified: '2026-05-06' binds: - namespace: env keys: TARGET_API_TOKEN: TARGET_API_TOKEN capability: consumes: - type: http namespace: target-api baseUri: https://api.target.com description: Target retail partner API authentication: type: bearer token: '{{TARGET_API_TOKEN}}' resources: - name: products path: /products/v3 description: Product catalog and detail operations operations: - name: list-products method: GET description: Returns a list of products by TCINs or filter criteria inputParameters: - name: tcins in: query type: string required: false description: Comma-separated list of TCINs - name: category in: query type: string required: false description: Category ID filter - name: brand in: query type: string required: false description: Brand name filter - name: limit in: query type: integer required: false description: Maximum number of results - name: offset in: query type: integer required: false description: Pagination offset outputRawFormat: json outputParameters: - name: result type: object value: $. - name: search-products method: GET description: Search Target product catalog by keyword and filters inputParameters: - name: q in: query type: string required: true description: Search query string - name: category in: query type: string required: false description: Category filter - name: brand in: query type: string required: false description: Brand filter - name: price_min in: query type: number required: false description: Minimum price - name: price_max in: query type: number required: false description: Maximum price - name: sort_by in: query type: string required: false description: Sort order - name: limit in: query type: integer required: false description: Results per page - name: offset in: query type: integer required: false description: Pagination offset outputRawFormat: json outputParameters: - name: result type: object value: $. - name: product-detail path: /products/v3/{tcin} description: Individual product detail operations operations: - name: get-product method: GET description: Retrieves detailed product information for a given TCIN inputParameters: - name: tcin in: path type: string required: true description: Target Corporation Item Number - name: store_id in: query type: string required: false description: Store ID for localized pricing - name: zip in: query type: string required: false description: ZIP code for localized pricing outputRawFormat: json outputParameters: - name: result type: object value: $. - name: product-fulfillment path: /products/v3/{tcin}/fulfillment description: Product fulfillment and availability operations: - name: get-product-fulfillment method: GET description: Returns fulfillment availability for ship-to-home, pickup, drive-up inputParameters: - name: tcin in: path type: string required: true description: Target Corporation Item Number - name: store_id in: query type: string required: false description: Store ID for in-store availability - name: zip in: query type: string required: false description: ZIP code for delivery availability - name: latitude in: query type: number required: false description: Latitude for nearby store lookup - name: longitude in: query type: number required: false description: Longitude for nearby store lookup outputRawFormat: json outputParameters: - name: result type: object value: $. - name: stores path: /stores/v3 description: Store locator and store information operations: - name: list-stores method: GET description: Returns list of Target stores filtered by location inputParameters: - name: zip in: query type: string required: false description: ZIP code to search near - name: latitude in: query type: number required: false description: Latitude for geographic search - name: longitude in: query type: number required: false description: Longitude for geographic search - name: radius in: query type: integer required: false description: Search radius in miles - name: limit in: query type: integer required: false description: Maximum stores to return outputRawFormat: json outputParameters: - name: result type: object value: $. - name: store-detail path: /stores/v3/{store_id} description: Individual store detail operations: - name: get-store method: GET description: Returns detailed information about a specific Target store inputParameters: - name: store_id in: path type: string required: true description: Target store ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orders path: /orders/v1 description: Order management for partners operations: - name: list-orders method: GET description: Returns orders for partner fulfillment or reporting inputParameters: - name: status in: query type: string required: false description: Filter by order status - name: from_date in: query type: string required: false description: Start date filter (ISO 8601) - name: to_date in: query type: string required: false description: End date filter (ISO 8601) - name: limit in: query type: integer required: false description: Maximum orders to return - name: offset in: query type: integer required: false description: Pagination offset outputRawFormat: json outputParameters: - name: result type: object value: $. - name: order-detail path: /orders/v1/{order_id} description: Individual order details operations: - name: get-order method: GET description: Returns full details of a specific order inputParameters: - name: order_id in: path type: string required: true description: Target order ID outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest port: 8080 namespace: target-retail-api description: Unified REST API for Target retail integration workflows. resources: - path: /v1/products name: products description: Browse and search Target product catalog operations: - method: GET name: list-products description: List products by TCINs, category, or brand call: target-api.list-products with: tcins: rest.tcins category: rest.category brand: rest.brand limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: GET name: search-products description: Search products by keyword with filters call: target-api.search-products with: q: rest.q category: rest.category brand: rest.brand price_min: rest.price_min price_max: rest.price_max sort_by: rest.sort_by limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/products/{tcin} name: product-detail description: Get detailed product information operations: - method: GET name: get-product description: Get full product details by TCIN call: target-api.get-product with: tcin: rest.tcin store_id: rest.store_id zip: rest.zip outputParameters: - type: object mapping: $. - path: /v1/products/{tcin}/fulfillment name: product-fulfillment description: Check product fulfillment options operations: - method: GET name: get-product-fulfillment description: Get fulfillment availability across all channels call: target-api.get-product-fulfillment with: tcin: rest.tcin store_id: rest.store_id zip: rest.zip latitude: rest.latitude longitude: rest.longitude outputParameters: - type: object mapping: $. - path: /v1/stores name: stores description: Find Target stores by location operations: - method: GET name: list-stores description: List nearby Target stores call: target-api.list-stores with: zip: rest.zip latitude: rest.latitude longitude: rest.longitude radius: rest.radius limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/stores/{store_id} name: store-detail description: Get Target store details operations: - method: GET name: get-store description: Get store hours, features, and contact info call: target-api.get-store with: store_id: rest.store_id outputParameters: - type: object mapping: $. - path: /v1/orders name: orders description: Manage partner orders operations: - method: GET name: list-orders description: List orders with status and date filters call: target-api.list-orders with: status: rest.status from_date: rest.from_date to_date: rest.to_date limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/orders/{order_id} name: order-detail description: Get order details operations: - method: GET name: get-order description: Get full order details including line items call: target-api.get-order with: order_id: rest.order_id outputParameters: - type: object mapping: $. - type: mcp port: 9080 namespace: target-retail-mcp transport: http description: MCP server for AI-assisted Target retail integration. tools: - name: search-products description: Search Target's product catalog by keyword, category, price range, or brand hints: readOnly: true openWorld: true call: target-api.search-products with: q: tools.q category: tools.category brand: tools.brand price_min: tools.price_min price_max: tools.price_max sort_by: tools.sort_by limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: list-products description: List Target products by TCINs or category filters hints: readOnly: true openWorld: true call: target-api.list-products with: tcins: tools.tcins category: tools.category brand: tools.brand limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: get-product description: Get full product details including price, images, and ratings by TCIN hints: readOnly: true openWorld: true call: target-api.get-product with: tcin: tools.tcin store_id: tools.store_id zip: tools.zip outputParameters: - type: object mapping: $. - name: check-product-availability description: Check product availability for ship-to-home, in-store pickup, and drive-up hints: readOnly: true openWorld: true call: target-api.get-product-fulfillment with: tcin: tools.tcin store_id: tools.store_id zip: tools.zip latitude: tools.latitude longitude: tools.longitude outputParameters: - type: object mapping: $. - name: find-stores description: Find Target stores near a ZIP code or geographic coordinates hints: readOnly: true openWorld: true call: target-api.list-stores with: zip: tools.zip latitude: tools.latitude longitude: tools.longitude radius: tools.radius limit: tools.limit outputParameters: - type: object mapping: $. - name: get-store-details description: Get Target store hours, features, and contact information hints: readOnly: true openWorld: true call: target-api.get-store with: store_id: tools.store_id outputParameters: - type: object mapping: $. - name: list-orders description: List partner orders filtered by status and date range hints: readOnly: true openWorld: false call: target-api.list-orders with: status: tools.status from_date: tools.from_date to_date: tools.to_date limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: get-order description: Get full details of a Target partner order including line items hints: readOnly: true openWorld: false call: target-api.get-order with: order_id: tools.order_id outputParameters: - type: object mapping: $.