Skip to content

Commit c00d854

Browse files
committed
API-423: Update draft submission
Update according to last EE client changes
1 parent f206efa commit c00d854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/php-client/ee-resources/product-drafts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The field `metadata` is specific to Akeneo PIM Enterprise Edition. The status of
5454
```php
5555
$client = new \Akeneo\PimEnterprise\AkeneoPimEnterpriseClientBuilder('http://akeneo.com/')->buildAuthenticatedByPassword('client_id', 'secret', 'admin', 'admin');
5656

57-
$client->getProductProposalApi()->create('top');
57+
$client->getProductDraftApi()->submitForApproval('top');
5858
```
5959

6060
It is mandatory that the user already created a draft for the product `top`, and that this draft was not approved yet.

0 commit comments

Comments
 (0)