APIv2 Changes
This changelog outlines the recent updates and changes made to the Kitchenhub API. Please review the following modifications to ensure seamless integration with our services:
General Updates
Endpoint Renaming:
- /provider_accounts/ has been renamed to /integration_accounts/.
Provider Account Type Change: - The pos attribute in provider accounts has been changed to integration.
Orders
- Data Structure Modification: The list of orders has transitioned from flat to structured objects.
- Pagination support has been added to the /v2/orders/ endpoint for improved data handling and retrieval.
Auth
- The authorization header has been updated from x-api-key to Authorization.
Stores
Stores
- The endpoint /v2/stores/{store_id}/store_provider/ has been removed.
- New Store Attributes:
The following attributes have been added to store endpoints: auto_accept_enabled, auto_complete_enabled, and auto_accept_cooking_time. - Store Creation Attribute Change:
When creating a store, the attribute merchant_id has been changed to partner_store_id. - Store Detail Retrieval Attribute Change:
When retrieving store details, the attribute merchant_id has been changed to partner_store_id.
Locations
Locations
- The endpoint /v2/locations/{location_id}/stores/ has been removed.
Integration Accounts
- Endpoint Update:
The endpoint /v2/integrations_accounts/{integration_id}/integration_status/ has been changed to /v2/integration_accounts/{integration_id}/status/ - Attribute Modification:
The attribute pause_duration_seconds in integration status has been simplified to pause_duration.
Menu
- Endpoint Removal:
The endpoints /v2/stores/{store_id}/provider-menus/ and /v2/clients/{client_id}/menu_sync/ have been removed. - New Menu Integration Endpoint:
A new menu integration endpoint /v2/stores/{store_id}/menu/ has been introduced for updating and retrieving menu information. - Menu Integration Status Endpoint:
A new endpoint /v2/stores/{store_id}/menu/integration-status/ has been added to retrieve menu integration status.
Webhooks
- A new endpoint /v2/webhooks/ has been added to facilitate webhook integration.
Orders
Please make the necessary updates to your integration to align with these changes. If you have any questions or require further assistance, don't hesitate to reach out to our support team.