All URIs are relative to https://sandbox.factura.com
Method | HTTP request | Description |
---|---|---|
apiV4ResellersClientsCreatePost | POST /api/v4/resellers/clients/create | Crear cliente para revendedores |
apiV4ResellersClientsGet | GET /api/v4/resellers/clients | Listar tus clientes como revendedor |
apiV4ResellersClientsUidGet | GET /api/v4/resellers/clients/{uid} | Listar uno de tus clientes como revendedor |
apiV4ResellersPackagesGet | GET /api/v4/resellers/packages | Consultar tus planes de revendedor |
apiV4ResellersClientsCreatePost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key)
Crear cliente para revendedores
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FacturaCom\FacturaComSdk\Api\RevendedoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = "body_example"; // string |
$content_type = "content_type_example"; // string |
$f_plugin = "f_plugin_example"; // string |
$f_api_key = "f_api_key_example"; // string |
$f_secret_key = "f_secret_key_example"; // string |
try {
$apiInstance->apiV4ResellersClientsCreatePost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
echo 'Exception when calling RevendedoresApi->apiV4ResellersClientsCreatePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | string | [optional] | |
content_type | string | [optional] | |
f_plugin | string | [optional] | |
f_api_key | string | [optional] | |
f_secret_key | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV4ResellersClientsGet($content_type, $f_plugin, $f_api_key, $f_secret_key)
Listar tus clientes como revendedor
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FacturaCom\FacturaComSdk\Api\RevendedoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$content_type = "content_type_example"; // string |
$f_plugin = "f_plugin_example"; // string |
$f_api_key = "f_api_key_example"; // string |
$f_secret_key = "f_secret_key_example"; // string |
try {
$apiInstance->apiV4ResellersClientsGet($content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
echo 'Exception when calling RevendedoresApi->apiV4ResellersClientsGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
content_type | string | [optional] | |
f_plugin | string | [optional] | |
f_api_key | string | [optional] | |
f_secret_key | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV4ResellersClientsUidGet($uid, $content_type, $f_plugin, $f_api_key, $f_secret_key)
Listar uno de tus clientes como revendedor
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FacturaCom\FacturaComSdk\Api\RevendedoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$uid = "uid_example"; // string |
$content_type = "content_type_example"; // string |
$f_plugin = "f_plugin_example"; // string |
$f_api_key = "f_api_key_example"; // string |
$f_secret_key = "f_secret_key_example"; // string |
try {
$apiInstance->apiV4ResellersClientsUidGet($uid, $content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
echo 'Exception when calling RevendedoresApi->apiV4ResellersClientsUidGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
uid | string | ||
content_type | string | [optional] | |
f_plugin | string | [optional] | |
f_api_key | string | [optional] | |
f_secret_key | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiV4ResellersPackagesGet($content_type, $f_plugin, $f_api_key, $f_secret_key)
Consultar tus planes de revendedor
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FacturaCom\FacturaComSdk\Api\RevendedoresApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$content_type = "content_type_example"; // string |
$f_plugin = "f_plugin_example"; // string |
$f_api_key = "f_api_key_example"; // string |
$f_secret_key = "f_secret_key_example"; // string |
try {
$apiInstance->apiV4ResellersPackagesGet($content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
echo 'Exception when calling RevendedoresApi->apiV4ResellersPackagesGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
content_type | string | [optional] | |
f_plugin | string | [optional] | |
f_api_key | string | [optional] | |
f_secret_key | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]