Skip to content

Commit 7c2e545

Browse files
committed
fix(API-1860): Update api resource links and fix version tags
1 parent 5589cc7 commit 7c2e545

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

content/php-client/resources/products/products-uuid.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The following endpoints are largely the same as for [products](/php-client/resou
55
:::
66

77
#### Get a product
8-
::: php-client-availability versions=10.0 editions=CE,EE
8+
::: php-client-availability versions=10.0
99

1010
```php
1111
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
@@ -58,7 +58,7 @@ $product = $client->getProductUuidApi()->get('12951d98-210e-4bRC-ab18-7fdgf1bd14
5858
```
5959

6060
#### Get a list of products
61-
::: php-client-availability versions=10.0 editions=CE,EE
61+
::: php-client-availability versions=10.0
6262

6363
There are two ways of getting products. Also, you have a search builder to ease the construction of a research.
6464

@@ -86,7 +86,7 @@ $searchFilters = $searchBuilder->getFilters();
8686
This method allows to get products page per page, as a classical pagination. You can research products thanks to the search builder.
8787

8888
As for the other entities, it's possible to get the total number of researched products with this method.
89-
Also, it's possible to filter the value to return, thanks to the query parameters that are fully described [here](/api-reference.html#get_products).
89+
Also, it's possible to filter the value to return, thanks to the query parameters that are fully described [here](/api-reference.html#get_products_uuid).
9090

9191
For example, in this example, we only return product values belonging to the channel "ecommerce" by adding the query parameter `'scope' => 'ecommerce'`.
9292

@@ -114,7 +114,7 @@ It's recommended to let this parameter with the default value `false` if the tot
114114

115115
You can get more information about this method [here](/php-client/list-resources.html#by-getting-pages).
116116

117-
You can get more information about the available query parameters [here](/api-reference.html#get_products).
117+
You can get more information about the available query parameters [here](/api-reference.html#get_products_uuid).
118118

119119
**With a cursor**
120120

@@ -143,10 +143,10 @@ There is a maximum limit allowed on server side for the parameter `pageSize`.
143143

144144
You can get more information about this method [here](/php-client/list-resources.html#with-a-cursor).
145145

146-
You can get more information about the available query parameters [here](/api-reference.html#get_products).
146+
You can get more information about the available query parameters [here](/api-reference.html#get_products_uuid).
147147

148148
#### Create a product
149-
::: php-client-availability versions=9.0 editions=CE,EE
149+
::: php-client-availability versions=10.0
150150

151151
If the product does not exist yet, this method creates it, otherwise it throws an exception.
152152

@@ -196,7 +196,7 @@ $client->getProductUuidApi()->create('844c736b-a19b-48a6-a354-6056044729f0', [
196196
You can get more information about the expected format of the product values [here](/concepts/products.html#focus-on-the-product-values).
197197

198198
#### Upsert a product
199-
::: php-client-availability versions=9.0 editions=CE,EE
199+
::: php-client-availability versions=10.0
200200

201201
If the product does not exist yet, this method creates it, otherwise it updates it.
202202

@@ -246,7 +246,7 @@ $client->getProductUuidApi()->upsert('844c736b-a19b-48a6-a354-6056044729f0', [
246246
You can get more information about the expected format of the product values [here](/concepts/products.html#focus-on-the-product-values).
247247

248248
#### Upsert a list of products
249-
::: php-client-availability versions=9.0 editions=CE,EE
249+
::: php-client-availability versions=10.0
250250

251251
This method allows to create or update a list of products.
252252
It has the same behavior as the `upsert` method for a single product, except that the code must be specified in the data of each product.
@@ -302,10 +302,10 @@ foreach ($responseLines as $line) {
302302
There is a limit on the maximum number of products that you can upsert in one time on server side. By default this limit is set to 100.
303303
:::
304304

305-
You can get a complete description of the expected format and the returned format [here](/api-reference.html#get_products__code_).
305+
You can get a complete description of the expected format and the returned format [here](/api-reference.html#get_products_uuid__uuid_).
306306

307307
#### Delete a product
308-
::: php-client-availability versions=1.0,2.0,3.0,4.0,5.0,6.0 editions=CE,EE
308+
::: php-client-availability versions=10.0
309309

310310
```php
311311
$client = new \Akeneo\Pim\ApiClient\AkeneoPimClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');

0 commit comments

Comments
 (0)