Marketplaces / The Range [DRAFT] / Authentication & Database structure

Authentication & Database structure

  • Authentication

The purpose of this page is describe the authentication process and steps for The Range MP.

Very straight forward authentication - All we need is to push is the username & password to account that we would want to authenticate for.

API Call: https://uatsupplier.rstore.com/rest/authenticate.api - Test End point

https://supplier.rstore.com/rest/authenticate.api - Prod End point

API Docs: https://marketplacetherange.zendesk.com/hc/en-gb/articles/360018375997-API-Authenticate

Example request:

{
"user": "testsupplier", // username of the account trying to log in
"pass": "testpw123" // password for the given username. This may never be passed via the URI.
}

Note: For username & password, please contact Maria Mitreva (Unlicensed)

Example response:

HTTP/1.0 200 OK

Cookie: "ksi=abcdefghijklmnopqrstuvwxyz123"

{
"mode": "Test",
"supplier_id": 1,
}

Into the response we will receive the cookie, which need to be stored and used into the parameters for other requests.

Also, we will receive the supplier_id, which is mandatory to be pushed as parameters of other requests.

The cookie expires in 30 days.

  • Database structure
Is this article helpful?
0 0 0