Skip to content

Commit b190f2c

Browse files
Merge pull request #154 from damien-carcel/API-423
API-423: Update draft submission
2 parents f206efa + c00d854 commit b190f2c

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)