PHPackages                             criteo/criteo-api-commercegrid-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. criteo/criteo-api-commercegrid-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

criteo/criteo-api-commercegrid-sdk
==================================

PHP SDK for Criteo API 0.0.260730 version

2027.01.0.260730(2w ago)018Apache-2.0PHPPHP ^7.4 || ^8.0

Since Feb 11Pushed 1mo agoCompare

[ Source](https://github.com/criteo/criteo-api-commercegrid-php-sdk)[ Packagist](https://packagist.org/packages/criteo/criteo-api-commercegrid-sdk)[ Docs](https://api.criteo.com)[ RSS](/packages/criteo-criteo-api-commercegrid-sdk/feed)WikiDiscussions preview Synced 1w ago

READMEChangelogDependencies (49)Versions (61)Used By (0)

Introduction
------------

[](#introduction)

API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues.

More information on how to use Criteo API and these SDKs can be found at: .

This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- Package version: 0.0.260629
- Build package: org.openapitools.codegen.languages.PhpClientCodegen

Requirements
------------

[](#requirements)

This project is tested with PHP 8.0. However it should work fine with PHP 7.4 too.

Installation &amp; Usage
------------------------

[](#installation--usage)

### Composer

[](#composer)

To install the bindings via [Composer](http://getcomposer.org/):

either run the following command: `composer require criteo/criteo-api-commercegrid-sdk:0.0.260629`

or add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/criteo/criteo-api-commercegrid-php-sdk.git"
    }
  ],
  "require": {
    "criteo/criteo-api-commercegrid-php-sdk": "*@dev"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
    require_once('/path/to/criteo-api-commercegrid-sdk/vendor/autoload.php');
```

Tests
-----

[](#tests)

To run the unit tests:

```
composer run-script test
```

Example
-------

[](#example)

Please see [test/ExampleApplication.php](test/ExampleApplication.php) for an example on how to perform a simple call.

Documentation for API Endpoints
-------------------------------

[](#documentation-for-api-endpoints)

All URIs are relative to **

ClassMethodHTTP requestDescription*GatewayApi*[**getCurrentApplication**](docs/Api/GatewayApi.md#getcurrentapplication)**GET** /preview/commerce-grid/me/preview/commerce-grid/me*SegmentApi*[**addRemoveContactListByAudienceSegment**](docs/Api/SegmentApi.md#addremovecontactlistbyaudiencesegment)**POST** /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/add-remove/preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/add-remove*SegmentApi*[**bulkCreateAudienceSegments**](docs/Api/SegmentApi.md#bulkcreateaudiencesegments)**POST** /preview/commerce-grid/audience-segments/create/preview/commerce-grid/audience-segments/create*SegmentApi*[**bulkDeleteAudienceSegments**](docs/Api/SegmentApi.md#bulkdeleteaudiencesegments)**POST** /preview/commerce-grid/audience-segments/delete/preview/commerce-grid/audience-segments/delete*SegmentApi*[**bulkUpdateAudienceSegments**](docs/Api/SegmentApi.md#bulkupdateaudiencesegments)**PATCH** /preview/commerce-grid/audience-segments/preview/commerce-grid/audience-segments*SegmentApi*[**clearContactListByAudienceSegment**](docs/Api/SegmentApi.md#clearcontactlistbyaudiencesegment)**POST** /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/clear/preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/clear*SegmentApi*[**getAudienceSegmentContactListStatistics**](docs/Api/SegmentApi.md#getaudiencesegmentcontactliststatistics)**GET** /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/statistics/preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/statistics*SegmentApi*[**searchAudienceSegments**](docs/Api/SegmentApi.md#searchaudiencesegments)**POST** /preview/commerce-grid/audience-segments/search/preview/commerce-grid/audience-segments/searchDocumentation For Models
------------------------

[](#documentation-for-models)

- [ApplicationSummaryModel](docs/Model/ApplicationSummaryModel.md)
- [ApplicationSummaryModelResource](docs/Model/ApplicationSummaryModelResource.md)
- [ApplicationSummaryModelResponse](docs/Model/ApplicationSummaryModelResponse.md)
- [AudienceError](docs/Model/AudienceError.md)
- [AudienceWarning](docs/Model/AudienceWarning.md)
- [CgAudienceSegmentBulkCreateInputV1](docs/Model/CgAudienceSegmentBulkCreateInputV1.md)
- [CgAudienceSegmentBulkDeleteInputV1](docs/Model/CgAudienceSegmentBulkDeleteInputV1.md)
- [CgAudienceSegmentBulkUpdateInputV1](docs/Model/CgAudienceSegmentBulkUpdateInputV1.md)
- [CgAudienceSegmentCreateEntityV1](docs/Model/CgAudienceSegmentCreateEntityV1.md)
- [CgAudienceSegmentCreateEntityV1Resource](docs/Model/CgAudienceSegmentCreateEntityV1Resource.md)
- [CgAudienceSegmentDeleteEntityV1Resource](docs/Model/CgAudienceSegmentDeleteEntityV1Resource.md)
- [CgAudienceSegmentEntityV1](docs/Model/CgAudienceSegmentEntityV1.md)
- [CgAudienceSegmentEntityV1CgAudienceSegmentSearchMetadataV1ListResponse](docs/Model/CgAudienceSegmentEntityV1CgAudienceSegmentSearchMetadataV1ListResponse.md)
- [CgAudienceSegmentEntityV1ListResponse](docs/Model/CgAudienceSegmentEntityV1ListResponse.md)
- [CgAudienceSegmentEntityV1Resource](docs/Model/CgAudienceSegmentEntityV1Resource.md)
- [CgAudienceSegmentIdEntityV1ListResponse](docs/Model/CgAudienceSegmentIdEntityV1ListResponse.md)
- [CgAudienceSegmentIdEntityV1Resource](docs/Model/CgAudienceSegmentIdEntityV1Resource.md)
- [CgAudienceSegmentSearchEntityV1](docs/Model/CgAudienceSegmentSearchEntityV1.md)
- [CgAudienceSegmentSearchEntityV1Resource](docs/Model/CgAudienceSegmentSearchEntityV1Resource.md)
- [CgAudienceSegmentSearchInputV1](docs/Model/CgAudienceSegmentSearchInputV1.md)
- [CgAudienceSegmentSearchMetadataV1](docs/Model/CgAudienceSegmentSearchMetadataV1.md)
- [CgAudienceSegmentUpdateEntityV1](docs/Model/CgAudienceSegmentUpdateEntityV1.md)
- [CgAudienceSegmentUpdateEntityV1Resource](docs/Model/CgAudienceSegmentUpdateEntityV1Resource.md)
- [CgContactListCreateV1](docs/Model/CgContactListCreateV1.md)
- [CgContactListStatisticsEntityV1](docs/Model/CgContactListStatisticsEntityV1.md)
- [CgContactListStatisticsEntityV1Resource](docs/Model/CgContactListStatisticsEntityV1Resource.md)
- [CgContactListStatisticsEntityV1Response](docs/Model/CgContactListStatisticsEntityV1Response.md)
- [CommerceGridContactlistAmendment](docs/Model/CommerceGridContactlistAmendment.md)
- [CommerceGridContactlistAmendmentAttributes](docs/Model/CommerceGridContactlistAmendmentAttributes.md)
- [CommerceGridContactlistAmendmentRequest](docs/Model/CommerceGridContactlistAmendmentRequest.md)
- [CommerceGridContactlistOperation](docs/Model/CommerceGridContactlistOperation.md)
- [CommerceGridContactlistOperationResponseAttributes](docs/Model/CommerceGridContactlistOperationResponseAttributes.md)
- [CommerceGridContactlistOperationResponseAttributesAttributes](docs/Model/CommerceGridContactlistOperationResponseAttributesAttributes.md)
- [CommonProblem](docs/Model/CommonProblem.md)
- [NillableString](docs/Model/NillableString.md)

Documentation For Authorization
-------------------------------

[](#documentation-for-authorization)

### oauth

[](#oauth)

- **Type**: OAuth
- **Flow**: application
- **Authorization URL**:
- **Scopes**: N/A

### oauth

[](#oauth-1)

- **Type**: OAuth
- **Flow**: accessCode
- **Authorization URL**:
- **Scopes**: N/A

Author
------

[](#author)

[Criteo](https://www.criteo.com/)

Disclaimer
----------

[](#disclaimer)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance92

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

59

Last Release

20d ago

Major Versions

0.0.260629 → 2026.01.0.2607132026-07-13

0.0.260713 → 2026.07.0.2607272026-07-27

0.0.260727 → 2026.01.0.2607272026-07-27

0.0.260730 → 2026.01.x-dev2026-07-30

2026.01.0.260730 → 2027.01.0.2607302026-07-30

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1713646?v=4)[Criteo](/maintainers/Criteo)[@criteo](https://github.com/criteo)

---

Top Contributors

[![tnion-criteo](https://avatars.githubusercontent.com/u/179688914?v=4)](https://github.com/tnion-criteo "tnion-criteo (1 commits)")

---

Tags

phpapisdkrestopenapi-generatorcriteo

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/criteo-criteo-api-commercegrid-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/criteo-criteo-api-commercegrid-sdk/health.svg)](https://phpackages.com/packages/criteo-criteo-api-commercegrid-sdk)
```

###  Alternatives

[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

37234.5k4](/packages/onesignal-onesignal-php-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
