VTEX · Capability

VTex Suggestions — SKU Approval Settings

VTex Suggestions — SKU Approval Settings. 8 operations. Lead operation: VTex Get Account's Approval Settings. Self-contained Naftiko capability covering one Vtex business surface.

Run with Naftiko VtexSKU Approval Settings

What You Can Do

GET
Getaccountconfig — VTex Get Account's Approval Settings
/v1/suggestions/configuration
PUT
Saveaccountconfig — VTex Save Account's Approval Settings
/v1/suggestions/configuration
GET
Getmatchconfig — VTex Get Account's Matcher Settings
/v1/suggestions/configuration/account/config
GET
Getautoapprovevaluefromconfig — VTex Get autoApprove Status in Account Settings
/v1/suggestions/configuration/autoapproval/toggle
PUT
Saveautoapproveforaccount — VTex Activate autoApprove in Marketplace's Account
/v1/suggestions/configuration/autoapproval/toggle
PUT
Saveautoapproveforaccountseller — VTex Activate autoApprove Setting for a Seller
/v1/suggestions/configuration/autoapproval/toggle/seller/{sellerid}
GET
Getselleraccountconfig — VTex Get Seller's Approval Settings
/v1/suggestions/configuration/seller/{sellerid}
PUT
Putselleraccountconfig — VTex Save Seller's Approval Settings
/v1/suggestions/configuration/seller/{sellerid}

MCP Tools

vtex-get-account-s-approval-settings

VTex Get Account's Approval Settings

read-only idempotent
vtex-save-account-s-approval-settings

VTex Save Account's Approval Settings

idempotent
vtex-get-account-s-matcher-settings

VTex Get Account's Matcher Settings

read-only idempotent
vtex-get-autoapprove-status-account

VTex Get autoApprove Status in Account Settings

read-only idempotent
vtex-activate-autoapprove-marketplace-s-account

VTex Activate autoApprove in Marketplace's Account

idempotent
vtex-activate-autoapprove-setting-seller

VTex Activate autoApprove Setting for a Seller

idempotent
vtex-get-seller-s-approval-settings

VTex Get Seller's Approval Settings

read-only idempotent
vtex-save-seller-s-approval-settings

VTex Save Seller's Approval Settings

idempotent

Capability Spec

suggestions-sku-approval-settings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VTex Suggestions — SKU Approval Settings
  description: 'VTex Suggestions — SKU Approval Settings. 8 operations. Lead operation: VTex Get Account''s Approval Settings.
    Self-contained Naftiko capability covering one Vtex business surface.'
  tags:
  - Vtex
  - SKU Approval Settings
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VTEX_API_KEY: VTEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: suggestions-sku-approval-settings
    baseUri: https://api.vtex.com/{accountName}
    description: VTex Suggestions — SKU Approval Settings business capability. Self-contained, no shared references.
    resources:
    - name: suggestions-configuration
      path: /suggestions/configuration
      operations:
      - name: getaccountconfig
        method: GET
        description: VTex Get Account's Approval Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will
            be posted into this account.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
      - name: saveaccountconfig
        method: PUT
        description: VTex Save Account's Approval Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will
            be posted into this account.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: suggestions-configuration-account-config
      path: /suggestions/configuration/account/config
      operations:
      - name: getmatchconfig
        method: GET
        description: VTex Get Account's Matcher Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will
            be posted into this account.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
    - name: suggestions-configuration-autoapproval-toggle
      path: /suggestions/configuration/autoapproval/toggle
      operations:
      - name: getautoapprovevaluefromconfig
        method: GET
        description: VTex Get autoApprove Status in Account Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sellerId
          in: query
          type: string
          description: A string that identifies the seller in the marketplace. This ID must be created by the marketplace.
          required: true
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will
            be posted into this account.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
      - name: saveautoapproveforaccount
        method: PUT
        description: VTex Activate autoApprove in Marketplace's Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will
            be posted into this account.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: suggestions-configuration-autoapproval-toggle-seller-sellerId
      path: /suggestions/configuration/autoapproval/toggle/seller/{sellerId}
      operations:
      - name: saveautoapproveforaccountseller
        method: PUT
        description: VTex Activate autoApprove Setting for a Seller
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will
            be posted into this account.
          required: true
        - name: sellerId
          in: path
          type: string
          description: A string that identifies the seller in the marketplace. This ID must be created by the marketplace.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: suggestions-configuration-seller-sellerId
      path: /suggestions/configuration/seller/{sellerId}
      operations:
      - name: getselleraccountconfig
        method: GET
        description: VTex Get Seller's Approval Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will
            be posted into this account.
          required: true
        - name: sellerId
          in: path
          type: string
          description: A string that identifies the seller in the marketplace. This ID must be created by the marketplace.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
      - name: putselleraccountconfig
        method: PUT
        description: VTex Save Seller's Approval Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountName
          in: path
          type: string
          description: Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will
            be posted into this account.
          required: true
        - name: sellerId
          in: path
          type: string
          description: A string that identifies the seller in the marketplace. This ID must be created by the marketplace.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: suggestions-sku-approval-settings-rest
    port: 8080
    description: REST adapter for VTex Suggestions — SKU Approval Settings. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/suggestions/configuration
      name: suggestions-configuration
      description: REST surface for suggestions-configuration.
      operations:
      - method: GET
        name: getaccountconfig
        description: VTex Get Account's Approval Settings
        call: suggestions-sku-approval-settings.getaccountconfig
        with:
          accountName: rest.accountName
          Accept: rest.Accept
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: saveaccountconfig
        description: VTex Save Account's Approval Settings
        call: suggestions-sku-approval-settings.saveaccountconfig
        with:
          accountName: rest.accountName
          Accept: rest.Accept
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/suggestions/configuration/account/config
      name: suggestions-configuration-account-config
      description: REST surface for suggestions-configuration-account-config.
      operations:
      - method: GET
        name: getmatchconfig
        description: VTex Get Account's Matcher Settings
        call: suggestions-sku-approval-settings.getmatchconfig
        with:
          accountName: rest.accountName
          Accept: rest.Accept
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/suggestions/configuration/autoapproval/toggle
      name: suggestions-configuration-autoapproval-toggle
      description: REST surface for suggestions-configuration-autoapproval-toggle.
      operations:
      - method: GET
        name: getautoapprovevaluefromconfig
        description: VTex Get autoApprove Status in Account Settings
        call: suggestions-sku-approval-settings.getautoapprovevaluefromconfig
        with:
          sellerId: rest.sellerId
          accountName: rest.accountName
          Accept: rest.Accept
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: saveautoapproveforaccount
        description: VTex Activate autoApprove in Marketplace's Account
        call: suggestions-sku-approval-settings.saveautoapproveforaccount
        with:
          accountName: rest.accountName
          Accept: rest.Accept
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/suggestions/configuration/autoapproval/toggle/seller/{sellerid}
      name: suggestions-configuration-autoapproval-toggle-seller-sellerid
      description: REST surface for suggestions-configuration-autoapproval-toggle-seller-sellerId.
      operations:
      - method: PUT
        name: saveautoapproveforaccountseller
        description: VTex Activate autoApprove Setting for a Seller
        call: suggestions-sku-approval-settings.saveautoapproveforaccountseller
        with:
          accountName: rest.accountName
          sellerId: rest.sellerId
          Accept: rest.Accept
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/suggestions/configuration/seller/{sellerid}
      name: suggestions-configuration-seller-sellerid
      description: REST surface for suggestions-configuration-seller-sellerId.
      operations:
      - method: GET
        name: getselleraccountconfig
        description: VTex Get Seller's Approval Settings
        call: suggestions-sku-approval-settings.getselleraccountconfig
        with:
          accountName: rest.accountName
          sellerId: rest.sellerId
          Accept: rest.Accept
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putselleraccountconfig
        description: VTex Save Seller's Approval Settings
        call: suggestions-sku-approval-settings.putselleraccountconfig
        with:
          accountName: rest.accountName
          sellerId: rest.sellerId
          Accept: rest.Accept
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: suggestions-sku-approval-settings-mcp
    port: 9090
    transport: http
    description: MCP adapter for VTex Suggestions — SKU Approval Settings. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: vtex-get-account-s-approval-settings
      description: VTex Get Account's Approval Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: suggestions-sku-approval-settings.getaccountconfig
      with:
        accountName: tools.accountName
        Accept: tools.Accept
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-save-account-s-approval-settings
      description: VTex Save Account's Approval Settings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: suggestions-sku-approval-settings.saveaccountconfig
      with:
        accountName: tools.accountName
        Accept: tools.Accept
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-get-account-s-matcher-settings
      description: VTex Get Account's Matcher Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: suggestions-sku-approval-settings.getmatchconfig
      with:
        accountName: tools.accountName
        Accept: tools.Accept
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-get-autoapprove-status-account
      description: VTex Get autoApprove Status in Account Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: suggestions-sku-approval-settings.getautoapprovevaluefromconfig
      with:
        sellerId: tools.sellerId
        accountName: tools.accountName
        Accept: tools.Accept
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-activate-autoapprove-marketplace-s-account
      description: VTex Activate autoApprove in Marketplace's Account
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: suggestions-sku-approval-settings.saveautoapproveforaccount
      with:
        accountName: tools.accountName
        Accept: tools.Accept
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-activate-autoapprove-setting-seller
      description: VTex Activate autoApprove Setting for a Seller
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: suggestions-sku-approval-settings.saveautoapproveforaccountseller
      with:
        accountName: tools.accountName
        sellerId: tools.sellerId
        Accept: tools.Accept
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-get-seller-s-approval-settings
      description: VTex Get Seller's Approval Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: suggestions-sku-approval-settings.getselleraccountconfig
      with:
        accountName: tools.accountName
        sellerId: tools.sellerId
        Accept: tools.Accept
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-save-seller-s-approval-settings
      description: VTex Save Seller's Approval Settings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: suggestions-sku-approval-settings.putselleraccountconfig
      with:
        accountName: tools.accountName
        sellerId: tools.sellerId
        Accept: tools.Accept
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.