retargeting/rest-api-client

There is no license information available for the latest version (1.0.0) of this package.

Retargeting REST API Client

Installs: 3 879

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/retargeting/rest-api-client

1.0.0 2019-02-18 16:02 UTC

This package is auto-updated.

Last update: 2025-12-19 13:53:50 UTC


README

composer require retargeting/rest-api-client
<?php

include "vendor/autoload.php";

use Retargeting\Client;

// use your REST API KEY from Retargeting Admin Panel
$client = new Client("REST_API_KEY");

// set response format to JSON
$client->setResponseFormat("json");

// not decode the string
$client->setDecoding(false);

// check discount code
$response = $client->discount->check("DISCOUNT_CODE");

var_dump($response);