Skip to content

[LSR-40136] Update API PHP Client to 1.10.0 - #41

Merged
GerbenLS merged 1 commit into
masterfrom
LSR-40136-Update-API-PHP-Client-version
Oct 15, 2026
Merged

GerbenLS merged 1 commit into
masterfrom
LSR-40136-Update-API-PHP-Client-version

Conversation

@GerbenLS

@GerbenLS GerbenLS commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

API PR: https://github.com/SEOshop/API/pull/1555

Description

Replaces src/WebshopappApiClient.php with the client regenerated from SEOshop/API (generator/generated/WSAClient.php). The file is generated; do not edit it by hand.

Changes

  • Version: CLIENT_VERSION goes from 1.9.1 to 1.10.0.
  • Added resources: quantity_discounts, withdrawals.
  • Removed resources: events and quotesConvert. Their API routes were removed in 2020 (CAM-12037) and 2021 (#757), so calls to them already failed.
  • Partner endpoints only: the generator now publishes only routes in the public auth groups. Internal JWT endpoints are excluded.
  • PHP 8.1 compatibility: fixes TypeError/ValueError crashes and deprecations on PHP 8 in file uploads, response handling and error handling. No type declarations were added, and the syntax stays PHP 5.4-compatible.
  • Bug fixes: an invalid payload now throws WebshopappApiException('Invalid payload', 100), and an unknown server name throws WebshopappApiException('Invalid API server.').

Class list diff (105 → 105)

- WebshopappApiResourceEvents
+ WebshopappApiResourceQuantity_discounts
- WebshopappApiResourceQuotesConvert
+ WebshopappApiResourceWithdrawals

Verification

Identical results on PHP 7.4, 8.1, 8.2 and 8.3 across 35 test cases against a mock API, with no warnings or deprecations.

Before merging

  • The generator PR in SEOshop/API is merged, and this file matches its output.
  • API and DevRel owners confirm removing events and quotesConvert, and the version number.

After merging: tag v1.10.0, publish the GitHub release, and check that Packagist shows 1.10.0.

JIRA

LSR-40136

@GerbenLS GerbenLS self-assigned this Oct 14, 2026
@GerbenLS
GerbenLS requested a review from a team October 14, 2026 08:31
@GerbenLS
GerbenLS merged commit a0b3cc2 into master Oct 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants