PHP Classes

File: docs/Api/LoyaltyProgramCustomerPointsApi.md

Recommend this page to a friend!
  Classes of Francesco Danti   Scloby Client API   docs/Api/LoyaltyProgramCustomerPointsApi.md   Download  
File: docs/Api/LoyaltyProgramCustomerPointsApi.md
Role: Example script
Content type: text/markdown
Description: Example script
Class: Scloby Client API
Client to call Scloby cloud POS API
Author: By
Last change:
Date: 11 days ago
Size: 1,960 bytes
 

Contents

Class file image Download

Swagger\Client\LoyaltyProgramCustomerPointsApi

All URIs are relative to https://api.scloby.com/v2

Method | HTTP request | Description ------------- | ------------- | ------------- fidelitiesPointsIdGet | GET /fidelities_points/{id} | Get existing Fidelity Point

fidelitiesPointsIdGet

> \Swagger\Client\Model\InlineResponse2004 fidelitiesPointsIdGet($id)

Get existing Fidelity Point

In this case you must specify the id in the URL

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oAuth2AuthCode
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new Swagger\Client\Api\LoyaltyProgramCustomerPointsApi(
    // 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(),
    $config
);
$id = "id_example"; // string | id of the Fidelity Point

try {
    $result = $apiInstance->fidelitiesPointsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LoyaltyProgramCustomerPointsApi->fidelitiesPointsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- id | string| id of the Fidelity Point |

Return type

\Swagger\Client\Model\InlineResponse2004

Authorization

oAuth2AuthCode

HTTP request headers

- Content-Type: Not defined - Accept: application/json

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)