SpringImport\Swagger\Magento2\Client\IntegrationCustomerTokenServiceV1Api
May 18, 2017 ยท View on GitHub
All URIs are relative to http://t213.vg/rest/default
| Method | HTTP request | Description |
|---|---|---|
| integrationCustomerTokenServiceV1CreateCustomerAccessTokenPost | POST /V1/integration/customer/token |
integrationCustomerTokenServiceV1CreateCustomerAccessTokenPost
string integrationCustomerTokenServiceV1CreateCustomerAccessTokenPost($body)
Create access token for admin given the customer credentials.
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\IntegrationCustomerTokenServiceV1Api();
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body137(); // \SpringImport\Swagger\Magento2\Client\Model\Body137 |
try {
$result = $api_instance->integrationCustomerTokenServiceV1CreateCustomerAccessTokenPost($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationCustomerTokenServiceV1Api->integrationCustomerTokenServiceV1CreateCustomerAccessTokenPost: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| body | \SpringImport\Swagger\Magento2\Client\Model\Body137 | [optional] |
Return type
string
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]