Orders not showing in Deliverect account?
If you have created orders and you cannot see them in the Orders tab of your staging account, there are a few reasons why this happens.
ChannelLink Id
Every location is connected with your test channel link with its own unique channelLink Id.
When you create an order, make sure you include the correct channelLinkId in the URL.
https://api.staging.deliverect.com/{channelname}/order/{channelLinkId}
Channel Name/Scope
Sometimes channels may include the wrong channel name in the URL when they are creating the order.
https://api.staging.deliverect.com/{channelname}/order/{channelLinkId}kId}
The channel name or else "scope" is provided with the welcome email alongside the API credentials. As a rule of thumb the channel name is the name of the channel, but one word and all lowercase
The error in that case is the following:
{"code":"Authorization error","description":"you're not allowed to send in orders"}
Endpoint
In testing in our staging environment, the endpoint would be api.staging.deliverect.com, when moving into production, this will be api.deliverect.com
PickUpTime in the past
When creating the order, make sure the pickUpTime value is a. the current time if the order is ASAP or b. the future time if the order is in the future.
If the pickUpTime is accidentally passed in the past, you will not be able to see this in the Orders tab of the account. The orders are filtered by pickUpTime so in order to find the order, you need to go to the past date.
Partner account
When we give you access to the staging environment, we provide you with a partner and a customer account.
You should be testing from the customer account. If you are looking for the order at the partner account there will not be any orders showing.
Updated about 1 year ago