Skip to content

remove_categories -> Response -> remove_categories" does not exist. Check the expected format on the API documentation.", #301

@JoostDijkman

Description

@JoostDijkman

Hi,

We would like to detach a category in Akeneo for some products, but we receive the following response from the API.

{
"line" : 1,
"identifier" : "DH01",
"status_code" : 422,
"message" : "Property "remove_categories" does not exist. Check the expected format on the API documentation.",
"links" : {
"documentation" : {
"href" : "http://api.akeneo.com/api-reference.html#patch_products__code
"
}
}
}

I have discovered that when I want to remove the category for an article, no further changes are made to that article. I use the key remove_categories in the request for this. If I do this without this key, the categorie is changed in Akeneo.

The source for this is: REST API reference | Akeneo APIs

In our opinion, this statement contradicts the documentation.

Best regards,
Joost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions