Introduction
API

SFTP

Testing Integration#

Prerequisites for Testing#

In order to test your integration, you’ll need to do the following:#

Choose a Test Vendor#

  • Option 1: Use an existing test vendor from your chain

  • Option 2: Create and onboard a new test store for testing

Validate Your Integration#

You can leverage our end-to-end (E2E) test cases to validate that integration meeting your requirements

How do I perform E2E testing?#

In order to send requests , please create a Bearer Token. Please refer to the Token Management & Access Section.

Closing the store until the certain time#

  1. Prepare the Request:

    1. Create the API request to close the store.

    2. Ensure the request contains valid store which is running during its open hours.

    3. Make sure to add close_until data, so our system identifies until when the store should be closed.

  2. Send the Request: When the request is successfully submitted, you will receive a 200 response along with additional information indicating until when the store will be closed.

  3. Check the status of the store: with the GET endpoint you can check if the previous request worked successfully or not. The response will return the status of the store.

Opening the store#

  1. Prepare the Request: Use the API request to reopen the store that has been closed.

  2. Submit the Request: Send the request and check the response which should be 200, ensuring that your store was reopened.

  3. Check the status of the store: with the GET endpoint you can check if the previous request worked successfully or not. The response will return the status of the store.


APIUse Cases - Endpoints ExplainedSFTPHow to Integrate