{
  "service": "adobe_commerce",
  "displayName": "Adobe Commerce",
  "categories": [
    "Productivity",
    "Marketing"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Admin Access Token",
      "placeholder": "Adobe Commerce bearer token",
      "description": "Adobe Commerce Admin access token sent as an Authorization Bearer token. Learn about Adobe Commerce API authentication at https://developer.adobe.com/commerce/webapi/get-started/authentication/",
      "extraFields": [
        {
          "key": "baseUrl",
          "label": "Store Base URL",
          "inputType": "text",
          "required": true,
          "secret": false,
          "placeholder": "https://shop.example.com",
          "description": "Public HTTPS root URL for your Adobe Commerce store. Do not include the /rest/V1 path."
        },
        {
          "key": "storeCode",
          "label": "Store Code",
          "inputType": "text",
          "required": false,
          "secret": false,
          "placeholder": "default",
          "description": "Optional Adobe Commerce store view code used in REST URLs such as /rest/default/V1. Leave blank to use /rest/V1."
        }
      ]
    }
  ],
  "homepageUrl": "https://business.adobe.com/products/magento/magento-commerce.html",
  "actions": [
    {
      "id": "adobe_commerce.get_category",
      "service": "adobe_commerce",
      "name": "get_category",
      "description": "Retrieve one Adobe Commerce category by category ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "categoryId": {
            "type": "integer",
            "minimum": 1,
            "description": "The numeric Adobe Commerce category ID."
          },
          "storeId": {
            "type": "integer",
            "minimum": 0,
            "description": "The numeric store ID to read the category from."
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Adobe Commerce fields selector used to return a partial response."
          },
          "storeCode": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Adobe Commerce store view code to place between /rest and /V1."
          }
        },
        "additionalProperties": false,
        "required": [
          "categoryId"
        ],
        "description": "Lookup options for retrieving one Adobe Commerce category."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Numeric category ID when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parentId": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Parent category ID when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Category name when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isActive": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the category is active when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "position": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Category position when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "level": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Category level when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "path": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Category path when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "productCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Product count when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "children": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "One raw child category object."
                },
                "description": "Child category objects returned by Adobe Commerce."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Adobe Commerce category payload."
              }
            },
            "additionalProperties": false,
            "description": "A normalized Adobe Commerce category."
          }
        },
        "additionalProperties": false,
        "description": "Adobe Commerce category lookup result."
      }
    },
    {
      "id": "adobe_commerce.get_product",
      "service": "adobe_commerce",
      "name": "get_product",
      "description": "Retrieve one Adobe Commerce product by SKU.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "description": "The Adobe Commerce product SKU."
          },
          "editMode": {
            "type": "boolean",
            "description": "Whether Adobe Commerce should return edit-mode product data."
          },
          "storeId": {
            "type": "integer",
            "minimum": 0,
            "description": "The numeric store ID to read the product from."
          },
          "forceReload": {
            "type": "boolean",
            "description": "Whether Adobe Commerce should force a product reload."
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Adobe Commerce fields selector used to return a partial response."
          },
          "storeCode": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Adobe Commerce store view code to place between /rest and /V1."
          }
        },
        "additionalProperties": false,
        "required": [
          "sku"
        ],
        "description": "Lookup options for retrieving one Adobe Commerce product."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "product": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Numeric product ID when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sku": {
                "type": "string",
                "description": "Product SKU returned by Adobe Commerce."
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Product name when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "price": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Product price when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "typeId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Product type ID when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "attributeSetId": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Product attribute set ID when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Product status code when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "visibility": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Product visibility code when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "createdAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Product creation timestamp when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updatedAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Product update timestamp when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "attribute_code": {
                      "type": "string",
                      "description": "Attribute code returned by Adobe Commerce."
                    },
                    "value": {
                      "description": "Attribute value returned by Adobe Commerce."
                    }
                  },
                  "additionalProperties": true,
                  "description": "Adobe Commerce custom attribute object."
                },
                "description": "Custom attributes returned by Adobe Commerce."
              },
              "extensionAttributes": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "Adobe Commerce extension attributes returned for this resource."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Adobe Commerce product payload."
              }
            },
            "additionalProperties": false,
            "description": "A normalized Adobe Commerce product."
          }
        },
        "additionalProperties": false,
        "description": "Adobe Commerce product lookup result."
      }
    },
    {
      "id": "adobe_commerce.list_categories",
      "service": "adobe_commerce",
      "name": "list_categories",
      "description": "Retrieve the Adobe Commerce category tree with optional root and depth limits.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "rootCategoryId": {
            "type": "integer",
            "minimum": 1,
            "description": "Category ID to use as the category tree root."
          },
          "depth": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum category tree depth to return."
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Adobe Commerce fields selector used to return a partial response."
          },
          "storeCode": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Adobe Commerce store view code to place between /rest and /V1."
          }
        },
        "additionalProperties": false,
        "description": "Options for retrieving the Adobe Commerce category tree."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "object",
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Numeric category ID when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parentId": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Parent category ID when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Category name when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isActive": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the category is active when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "position": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Category position when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "level": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Category level when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "path": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Category path when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "productCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "Product count when returned by Adobe Commerce."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "children": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "One raw child category object."
                },
                "description": "Child category objects returned by Adobe Commerce."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Adobe Commerce category payload."
              }
            },
            "additionalProperties": false,
            "description": "A normalized Adobe Commerce category."
          }
        },
        "additionalProperties": false,
        "description": "Adobe Commerce category tree result."
      }
    },
    {
      "id": "adobe_commerce.list_products",
      "service": "adobe_commerce",
      "name": "list_products",
      "description": "List Adobe Commerce products with optional searchCriteria filters and pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "filterGroups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "filters": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "field": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The top-level Adobe Commerce field to filter."
                      },
                      "value": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The filter value sent to Adobe Commerce."
                      },
                      "conditionType": {
                        "type": "string",
                        "enum": [
                          "eq",
                          "finset",
                          "from",
                          "gt",
                          "gteq",
                          "in",
                          "like",
                          "lt",
                          "lteq",
                          "moreq",
                          "neq",
                          "nfinset",
                          "nin",
                          "nlike",
                          "notnull",
                          "null",
                          "to"
                        ],
                        "description": "Adobe Commerce search condition type for the filter value."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "field",
                      "value"
                    ],
                    "description": "One Adobe Commerce searchCriteria filter."
                  },
                  "description": "Filters in this group. Multiple filters in one group are ORed.",
                  "minItems": 1
                }
              },
              "additionalProperties": false,
              "description": "One Adobe Commerce searchCriteria filter group."
            },
            "description": "Adobe Commerce searchCriteria filter groups. Groups are ANDed together.",
            "minItems": 1
          },
          "sortOrders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The top-level Adobe Commerce field to sort by."
                },
                "direction": {
                  "type": "string",
                  "enum": [
                    "ASC",
                    "DESC"
                  ],
                  "description": "Adobe Commerce search sort direction."
                }
              },
              "additionalProperties": false,
              "required": [
                "field"
              ],
              "description": "One Adobe Commerce searchCriteria sort order."
            },
            "description": "Adobe Commerce searchCriteria sort orders.",
            "minItems": 1
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of products to return."
          },
          "currentPage": {
            "type": "integer",
            "minimum": 1,
            "description": "One-based result page to request."
          },
          "fields": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Adobe Commerce fields selector used to return a partial response."
          },
          "storeCode": {
            "type": "string",
            "minLength": 1,
            "description": "Optional Adobe Commerce store view code to place between /rest and /V1."
          }
        },
        "additionalProperties": false,
        "description": "Search and pagination options for listing Adobe Commerce products."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "Numeric product ID when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "sku": {
                  "type": "string",
                  "description": "Product SKU returned by Adobe Commerce."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Product name when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Product price when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "typeId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Product type ID when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "attributeSetId": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "Product attribute set ID when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "Product status code when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "visibility": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "Product visibility code when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "createdAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Product creation timestamp when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "updatedAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "Product update timestamp when returned by Adobe Commerce."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "customAttributes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "attribute_code": {
                        "type": "string",
                        "description": "Attribute code returned by Adobe Commerce."
                      },
                      "value": {
                        "description": "Attribute value returned by Adobe Commerce."
                      }
                    },
                    "additionalProperties": true,
                    "description": "Adobe Commerce custom attribute object."
                  },
                  "description": "Custom attributes returned by Adobe Commerce."
                },
                "extensionAttributes": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Adobe Commerce extension attributes returned for this resource."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Adobe Commerce product payload."
                }
              },
              "additionalProperties": false,
              "description": "A normalized Adobe Commerce product."
            },
            "description": "Products returned by Adobe Commerce."
          },
          "searchCriteria": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Adobe Commerce search_criteria object."
              },
              {
                "type": "null"
              }
            ]
          },
          "totalCount": {
            "type": "integer",
            "description": "Total number of matching products reported by Adobe Commerce."
          }
        },
        "additionalProperties": false,
        "description": "Adobe Commerce product search result."
      }
    }
  ]
}
