Here you have some help on how to get started with your integration. Once fully integrated, you will be to do delivery orders automatically through the API URL endpoint.
Thank you for your response. I’m trying to authenticate on production but is giving me this error.
{
“error”: “invalid_client”,
“error_description”: “Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.”
}
I’ve used the API Client ID and API Secret but I don’t understand what is happening. I had no problem authenticating with the SandBox environment.
You’ll need a valid client_id and client_secret keys to request an authentication token, these can be found in the Production API credentials page of your Stuart account. In the below image we see an example of the API credentials page, your client_id is the ‘API Client ID’ seen on this page, and the client_secret is the ‘API Secret’ value given.
Gloria Food isn’t integrated with us and hence, currently it doesn’t offer the Stuart service directly through their platform. To do so, they would need to do development work on their side to integrate with Stuart.
This is weird because they told me they can through custom integration which is what I’m doing. They don’t offer it directly but it can be done.
They just need the restaurant Token and the Endpoint URL, like I showed you in the first image.
Besides, that doesn’t explain why I can’t authenticate my production credentials.
I know of another restaurant that could integrate your service with GloriaFood the same way that I’m trying to do and it’s currently working automatically with your service.
We aren’t familiar with Gloria foods offering or integrations dashboard, but here are some questions for us to understand your authentication issues :
Are you trying to get the access token through the API documentation try it out section here that you mentioned previously? Because the try out section sends the requests to the Sandbox URL and not the Production one.
Here is the Production URL: https://api.stuart.com.
If that doesn’t solve the problem, could you send us the authentication request payload you’re sending to our API that’s giving you this error so that we can investigate further? You can send it by private message for security reasons.
In our Sandbox Environment, we don’t see orders done through API, only manual orders through Dashboard. Have you tried to renew your Sandbox token through this endpoint? Did it work?
So I created a SoundBox account similar to the original, used those test credit cards and requested the API credentials I tested my SoundBox API credentials and they work fine.
I tried to do the same with production and authenticate my API credentials, I followed the instructions and used the following link to authenticate OpenAPI Design & Documentation Management Tool | Stoplight. There is where I got an error
I can’t access this URL, but I guess I’m missing a step
I confirm you that Gloria Food is not integrated to Stuart. You can ask them to integrate us first (they will be able to help you better) or support you with this custom integration process that we unfortunately have no visibility about.
The URL of Productions isn’t meant to display content, but only to host the requests, such as the endpoint you are trying.
I well received your credentials. However, be warned that the token will expire in 30 days. To use an automated update, you can use the libraries we recommend or get in contact to Gloria Food to do so.
We are open to have a discussion with you and Gloria Food to help to move things forward.