API Authentification
To authenticate with Gigastore backend, please use the credentials provided when logging in to your Gigastore account.
The credentials are Client ID and Client Secret, which can be found in the API section of the Gigastore portal.

Use the /reseller/authenticate
endpoint with Basic Authorization using your Client ID as username and Client Secret as password to retrieve the accessToken.
The snippet below can be generated by following the "First Steps" in the Gigastore API portal, or the base64 value needs to be calculated on your side.
curl --location --request POST 'https://api.giga.store/reseller/authenticate'
--header 'Authorization: Basic base64(<clientid>:<clientsecret>)'
Response:
{
"accessToken": "eyJhbGciOiJSUzI1NiIsInR5c..._very.long_string",
"expiresIn": 86400,
"refreshToken": null,
"refreshExpiresIn": 0,
"tokenType": "Bearer",
"idToken": null
}
Now, you can use the accessToken in your header as Authorization Bearer for other API calls needing authentification.
curl --location --request GET 'https://api.giga.store/gigastore/products/inventory' \
--header 'Authorization: Bearer eyJhbGciO...YOUR_ACCESS_TOKEN...
Response:
{
// your inventory
}
Last updated
Was this helpful?