Upsert Store
Webhook The Account Pairing API is deprecated and may be removed in a future release. Contact your Otter representative for migration options.
Sent when a store is created or updated in Otter's systems.
If metadata contains a Store ID, it means a request to update an existing 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 your app.
At this point, the store is in onboarding state waiting for your app to finish the onboarding process by providing the validated Store ID.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
The provided credentials are compatible with the provided schema version, successfully saved in your app database and available for the validation process (establishing a connection with the service related to the Application ID, e.g.: UberEats).
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.