{ "opencollection": "1.0.0", "info": { "name": "Public Account Pairing Endpoints API", "version": "v1" }, "items": [ { "info": { "name": "Account Pairing Endpoints", "type": "folder" }, "items": [ { "info": { "name": "Otter Complete Store Onboarding", "type": "http" }, "http": { "method": "POST", "url": "https://{public-api-url}/v1/stores", "headers": [ { "name": "X-Application-Id", "value": "" }, { "name": "X-Event-Id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "`RATE LIMIT: 2 per minute`\n\nThe asynchronous callback of the Upsert Store Webhook. The partner application will 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.\n" }, { "info": { "name": "Otter Update Store Status", "type": "http" }, "http": { "method": "PUT", "url": "https://{public-api-url}/v1/stores/status", "headers": [ { "name": "X-Store-Id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "`RATE LIMIT: 2 per minute`\n\nThe partner application should call this endpoint when needing to change the status of a store that already completed the onboarding process.\n" } ] } ], "bundled": true }