Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
webapi_async.php
Go to the documentation of this file.
1 <?php
7 declare(strict_types=1);
8 
9 return [
10  'services' => [
11  \Magento\Customer\Api\CustomerRepositoryInterface::class => [
12  'methods' => [
13  'getById' => [
14  'synchronousInvocationOnly' => true,
15  ],
16  'save' => [
17  'synchronousInvocationOnly' => true,
18  ],
19  'get' => [
20  'synchronousInvocationOnly' => false,
21  ],
22  ],
23  ],
24  ],
25  'routes' => [
26  'asyncProducts' => ['POST' => 'async/bulk/V1/products'],
27  'asyncBulkCmsPages' => ['POST' => 'async/bulk/V1/cmsPage'],
28  'asyncCustomers' => ['POST' => 'async/V1/customers']
29  ]
30 ];