diff --git a/src/Component/Akeneo/Client/ApiAttributesEndpoint.php b/src/Component/Akeneo/Client/ApiAttributesEndpoint.php index c20c991a..61661614 100644 --- a/src/Component/Akeneo/Client/ApiAttributesEndpoint.php +++ b/src/Component/Akeneo/Client/ApiAttributesEndpoint.php @@ -9,7 +9,7 @@ class ApiAttributesEndpoint implements ApiEndpointInterface public const NAME = 'attributes'; private const ALL = 'attributes'; - private const ONE = 'attributes/%s'; + private const ONE = 'attributes/%code%'; public function getAll(): string { diff --git a/src/Component/Akeneo/Client/ApiCategoriesEndpoint.php b/src/Component/Akeneo/Client/ApiCategoriesEndpoint.php index e69e459a..3e26cadc 100644 --- a/src/Component/Akeneo/Client/ApiCategoriesEndpoint.php +++ b/src/Component/Akeneo/Client/ApiCategoriesEndpoint.php @@ -8,7 +8,7 @@ class ApiCategoriesEndpoint implements ApiEndpointInterface { public const NAME = 'categories'; private const ALL = 'categories'; - private const ONE = 'categories/%s'; + private const ONE = 'categories/%code%'; public function getAll(): string { diff --git a/src/Component/Akeneo/Client/ApiFamiliesEndpoint.php b/src/Component/Akeneo/Client/ApiFamiliesEndpoint.php index 089a8613..3215e7f2 100644 --- a/src/Component/Akeneo/Client/ApiFamiliesEndpoint.php +++ b/src/Component/Akeneo/Client/ApiFamiliesEndpoint.php @@ -8,7 +8,7 @@ class ApiFamiliesEndpoint implements ApiEndpointInterface { public const NAME = 'families'; private const ALL = 'families'; - private const ONE = 'families/%s'; + private const ONE = 'families/%code%'; public function getAll(): string {