akeneo / api-php-client

PHP client of Akeneo PIM API

Home Page:https://packagist.org/packages/akeneo/api-php-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

incorrect information in the API guide for getAttributeOptionsApi()->upsertList()

johamm opened this issue · comments

I think there's a small mistake in the API documentation for upserting a list of options into an attribute:

https://api.akeneo.com/php-client/resources.html#upsert-a-list-of-attribute-options

When you look at the code, it's actually expecting the attribute code as the first parameter of the upsertList() call.

Hello @johamm

Thank you for raising this issue, I will check with API team to fix this error.
Unless you want to make a PR 😉

Regards,
JM

hahah thanks for that! I'm happy just reporting it lol :)

It's still incorrect.

still incorrect. see also: akeneo/api-php-client-ee#99