Complete store onboarding
Callback for the Upsert Store webhook. Use this endpoint to inform if the store data and credentials provided through the Upsert Store Webhook were enough to create/update and validate the store. If informing success, the Store ID must be provided to complete the store onboarding process. If informing failure, use the Error Message field to provide details about the problem. Rate limit: 2 requests per minute.
Request
- Base URLhttps://partners.tryotter.com
- AuthOAuth 2Authorization code/v1/auth/oauth2/authorizeClient credentialsToken URL/v1/auth/tokenScopesstores.manage
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
The plain-text Application ID, provided at partner onboarding, also available on Otter Developer Portal.
Unique identifier of the event that this callback refers to.
Request body
Example request
{
"storeId": "partner-store-unique-identifier",
"errorMessage": {
"message": "The request body is invalid.",
"details": [
{
"attribute": "Order Currency Code",
"message": "Order Currency Code must be exactly 3 characters"
}
]
}
}Response
If informing success, it means the store onboarding process is complete. If informing failure, it means new credentials need to be provided through the Upsert Store Webhook.
Changes
No recorded changes to this operation across all 1 revision of this API.