Upsert Store
Webhook
Sent when a store is created or updated in Otter API internal systems.
If metadata contains a Store ID, it means a request to update an existent store, otherwise, it's a creation operation.
It provides the store and credentials data needed to validate the store and create a new Store ID in the partner application.
At this point, the store is in onboarding state waiting the partner application to finish the onboarding process by providing the validated Store ID.
Request
Responses
- 400
- 401
- 403
- 404
- 409
- 422
- 2XX
The request is malformed.
Invalid authorization.
Authorization not valid for the requested resource.
Resource not found.
The provided credentials already exists in another store.
The provided credentials are not compatible with the provided schema version.
The provided credentials are compatible with the provided schema version, successfully saved in the partner application database and available for the validation process (establishing a connection with the service related to the Application ID, e.g.: UberEats).