0

Trying to create a category through API. But i'm getting an error

{
    "message": "Could not save category: %1",
    "parameters": [
        "The \"Is Home Category\" attribute value is empty. Set the attribute and try again."
    ]
}

Looking forward for your help...

Used code : ( Used very basic fields only )

{
    "category": {
        "parent_id": 2,
        "name": "TEST CATEGORY",
        "is_active": true,
        "position": 1,
        "level": 2
    },
    "saveOptions": true
}
3
  • 1
    "Is Home Category" sounds like some custom attribute. Did you add such attribute to your Magento and if yes, how did you add its value while using API? Commented Jun 10, 2021 at 11:59
  • @Michal Biarda Thanks bro it's a custom attribute i forgot that part. It's working fine now Commented Jun 10, 2021 at 12:51
  • I am glad I could help :-). Commented Jun 11, 2021 at 13:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.