select-co/sage200-api-end-points

Sage200 PHP API EndPoints. 2025-R2 - 2025.02 - 12.00.0059

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/select-co/sage200-api-end-points

2025.02.01 2025-12-09 16:00 UTC

README

Sage 200 PHP API End Points is a lightweight wrapper of request/response classes ("end points") for the Sage 200 REST API.

It is designed to be used together with the companion transport/client library select-co/sage200-api-client, which provides the HTTP connector, authentication, response handling, and an OData query builder.

Details

For further details, please refer to the API Client repository Sage 200 API Client.

Installation

Install via Composer:

composer require select-co/sage200-api-end-points:2025.02.01

This package depends on:

  • select-co/sage200-api-client — provides Sage200Connector, Response, and SageODataBuilder
  • guzzlehttp/guzzle (via the client library)

Composer will install the required dependencies automatically.

Project structure (high level)

src/
  Resource/
    Stock/
      WarehouseHoldingsResource.php
      WarehousesResource.php
    ...
  Requests/
    Stock/
      WarehouseHoldings/
        GetWarehouseHoldings.php
        GetWarehouseHolding.php
        PostWarehouseHoldings.php
        PutWarehouseHolding.php
        DelWarehouseHolding.php
        ...

Versioning and compatibility

This package targets the Sage 200 2025-R2 release series (2025.02 – 12.00.0059). End points may map closely to the Sage 200 REST API of that era. For newer Sage 200 versions or API changes, please check the issue tracker or open a new issue/PR.

Contributing

Contributions are welcome! Please open issues and pull requests on GitHub. When adding new endpoints:

  • Follow existing namespace and folder conventions (Resource vs Requests).
  • Mirror file/class naming patterns and code style.
  • Include brief PHPDoc for methods and constructor parameters.

License

MIT License. See the LICENSE file if present, or the header in composer.json.