[UpgradeAPI] Add a note about endpoints changes

This commit is contained in:
Rafikooo 2024-03-11 16:36:48 +01:00
parent a6eb037ecd
commit bff061dfce
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B

View file

@ -189,6 +189,15 @@ ApiBundle is no longer experimental and is now following the same support policy
### Resources changes
1. The following endpoints short names have been changed:
* `AdminResetPasswordRequest` -> `Administrator`
* `AccountResetPasswordRequest` -> `Customer`
* `ShopUserToken` -> `Customer` and `Security`
* `AdminUserToken` -> `Administrator` and `Security`
* `ContactRequest` -> `Contact`
* `VerifyCustomerAccount` -> `Customer`
1. The item operation path for ProductVariantTranslation resource has been changed:
- `GET` `/admin/product-variant-translation/{id}` -> `GET` `/admin/product-variant-translations/{id}`
@ -200,6 +209,23 @@ ApiBundle is no longer experimental and is now following the same support policy
The fields those endpoint were exposing are available on their respective translation subject resources.
1. The following endpoints regarding authentication tokens have been changed:
* `POST` `/admin/authentication-tokens` -> `POST` `/admin/administrators/token`
* `POST` `/shop/authentication-tokens` -> `POST` `/shop/customers/token`
1. The following endpoints regarding password reset have been changed:
* `POST` `/admin/reset-password-requests` -> `POST` `/admin/administrators/reset-password`
* `PATCH` `/admin/reset-password-requests/{resetPasswordToken}` -> `PATCH` `/admin/administrators/reset-password/{token}`
* `POST` `/shop/reset-password-requests` -> `POST` `/shop/customers/reset-password`
* `PATCH` `/shop/reset-password-requests/{resetPasswordToken}` -> `PATCH` `/shop/customers/reset-password/{token}`
1. The following endpoints regarding customer account verification have been changed:
* `POST` `/shop/account-verification-requests` -> `POST` `/shop/customers/verify`
* `PATCH` `/shop/account-verification-requests/{token}` -> `PATCH` `/shop/customers/verify/{token}`
1. The following endpoints regarding contact requests have been changed:
* `POST` `/shop/contact-requests` -> `POST` `/shop/contact`
1. Update in Translations Handling
The process for creating or updating translations via the API has been refined. Now, the locale for each translation