naftiko: 1.0.0-alpha2 info: label: VTex Marketplace Protocol — External Seller description: 'VTex Marketplace Protocol — External Seller. 4 operations. Lead operation: VTex Fulfillment simulation - External Seller. Self-contained Naftiko capability covering one Vtex business surface.' tags: - Vtex - External Seller created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: VTEX_API_KEY: VTEX_API_KEY capability: consumes: - type: http namespace: marketplace-protocol-external-seller-fulfillment-external-seller baseUri: https://{fulfillmentEndpoint} description: VTex Marketplace Protocol — External Seller business capability. Self-contained, no shared references. resources: - name: pvt-orderForms-simulation path: /pvt/orderForms/simulation operations: - name: fulfillmentsimulation method: POST description: VTex Fulfillment simulation - External Seller outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: pvt-orders path: /pvt/orders operations: - name: orderplacement method: POST description: VTex Order placement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: pvt-orders-orderId-cancel path: /pvt/orders/{orderId}/cancel operations: - name: mkpordercancellation method: POST description: VTex Marketplace order cancellation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: pvt-orders-sellerOrderId-fulfill path: /pvt/orders/{sellerOrderId}/fulfill operations: - name: authorizefulfillment method: POST description: VTex Authorize fulfillment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-VTEX-API-AppKey value: '{{env.VTEX_API_KEY}}' placement: header exposes: - type: rest namespace: marketplace-protocol-external-seller-fulfillment-external-seller-rest port: 8080 description: REST adapter for VTex Marketplace Protocol — External Seller. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/pvt/orderforms/simulation name: pvt-orderforms-simulation description: REST surface for pvt-orderForms-simulation. operations: - method: POST name: fulfillmentsimulation description: VTex Fulfillment simulation - External Seller call: marketplace-protocol-external-seller-fulfillment-external-seller.fulfillmentsimulation with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/pvt/orders name: pvt-orders description: REST surface for pvt-orders. operations: - method: POST name: orderplacement description: VTex Order placement call: marketplace-protocol-external-seller-fulfillment-external-seller.orderplacement with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/pvt/orders/{orderid}/cancel name: pvt-orders-orderid-cancel description: REST surface for pvt-orders-orderId-cancel. operations: - method: POST name: mkpordercancellation description: VTex Marketplace order cancellation call: marketplace-protocol-external-seller-fulfillment-external-seller.mkpordercancellation with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/pvt/orders/{sellerorderid}/fulfill name: pvt-orders-sellerorderid-fulfill description: REST surface for pvt-orders-sellerOrderId-fulfill. operations: - method: POST name: authorizefulfillment description: VTex Authorize fulfillment call: marketplace-protocol-external-seller-fulfillment-external-seller.authorizefulfillment with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: marketplace-protocol-external-seller-fulfillment-external-seller-mcp port: 9090 transport: http description: MCP adapter for VTex Marketplace Protocol — External Seller. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: vtex-fulfillment-simulation-external-seller description: VTex Fulfillment simulation - External Seller hints: readOnly: false destructive: false idempotent: false call: marketplace-protocol-external-seller-fulfillment-external-seller.fulfillmentsimulation with: body: tools.body outputParameters: - type: object mapping: $. - name: vtex-order-placement description: VTex Order placement hints: readOnly: false destructive: false idempotent: false call: marketplace-protocol-external-seller-fulfillment-external-seller.orderplacement with: body: tools.body outputParameters: - type: object mapping: $. - name: vtex-marketplace-order-cancellation description: VTex Marketplace order cancellation hints: readOnly: false destructive: false idempotent: false call: marketplace-protocol-external-seller-fulfillment-external-seller.mkpordercancellation with: body: tools.body outputParameters: - type: object mapping: $. - name: vtex-authorize-fulfillment description: VTex Authorize fulfillment hints: readOnly: false destructive: false idempotent: false call: marketplace-protocol-external-seller-fulfillment-external-seller.authorizefulfillment with: body: tools.body outputParameters: - type: object mapping: $.