Skip to content

Commit 9433bc5

Browse files
Merge pull request #127 from Bluedot-Innovation/feat/update-docs-with-core-and-geotrigger-webhook-changes
feat: Webhook 2.2, API version restructure
2 parents 60e2d85 + 271d590 commit 9433bc5

21 files changed

Lines changed: 660 additions & 19685 deletions

docs/APIs/Orders API/Getting started.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@ The Orders API uses API Key-based authentication to secure your requests. Here's
1515
- Navigate to the **Canvas** dashboard.
1616
- Go to the **API Management** section and create an API Key for the Orders API (Admin permissions required).
1717
- Save the API Key securely; you'll need it for all requests.
18-
18+
1919
For more details about managing API keys, see the [API Keys documentation](../../Canvas/API%20Keys%20management.md).
20-
20+
2121
2. **Include the API Key in Requests:**
2222
- Add the API Key to the **`x-bluedot-api-key`** header of your requests:
23-
23+
2424
```makefile
2525
"x-bluedot-api-key": <your_api_key>
2626
```
27-
27+
2828
3. **Revoking API Keys:**
2929
- If an API Key is compromised or no longer needed, you can revoke it in the Canvas. Deleted keys will no longer grant access.
3030

3131
### **Base URLs**
3232

3333
The Orders API provides region-specific endpoints to optimise performance and comply with regional regulations. Use the URL that matches your account's region:
3434

35-
- **US Region: `https://us1-orders.bluedot.io`**
36-
- **EU Region: `https://eu1-orders.bluedot.io`**
37-
- **APAC Region: `https://au1-orders.bluedot.io`**
35+
- **US Region: `https://us1-orders-core.bluedot.io`**
36+
- **EU Region: `https://eu1-orders-core.bluedot.io`**
37+
- **APAC Region: `https://au1-orders-core.bluedot.io`**
3838

3939
Make sure you’re using the correct URL for your region to avoid errors.
4040

@@ -50,8 +50,8 @@ Example:
5050

5151
```
5252
POST /orders
53-
Host: us1-orders.bluedot.io
53+
Host: us1-orders-core.bluedot.io
5454
Authorization: Bearer <your_api_key>
5555
Content-Type: application/json
5656
Accept: application/json
57-
```
57+
```

docs/APIs/Orders API/Key concepts.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
Key concepts
22
============
33

4-
To get the most out of the Orders API, it’s important to understand the core ideas behind its design. This section covers the fundamental workflows and error-handling mechanisms that will help you
4+
To get the most out of the Orders API, it’s important to understand the core ideas behind its design. This section covers the fundamental workflows and error-handling mechanisms that will help you
55
effectively integrate the API.
66

77
### **When to Use the Orders API**
88

99
The Orders API is ideal in the following scenarios:
1010

1111
- **Standalone Use:**
12-
12+
1313
Use the Orders API by itself when you need to manage orders without relying on real-time geolocation or the Point SDK. For example:
14-
14+
1515
- Cancel incomplete orders after 24 hours.
1616
- Update order details (e.g., delivery address or special instructions) directly from a server-side system.
1717
- Listen to ETA updates from third-party delivery partners and use the **`updateOrder`** event type to reflect these changes in Hello Screens.
1818
- **Combined with Point SDK:**
19-
19+
2020
Use the Orders API alongside the Point SDK to enrich location-based updates with additional order details. For example:
21-
21+
2222
- Register orders with the Orders API, passing the generated **`userToken`** and order ID as metadata in the Point SDK custom event. This enables automatic updates for ETA and arrival detection in Hello Screens.
2323
- Use the **`updateOrder`** event type to add or change details, such as when a customer provides additional information (e.g., car color or pickup bay number).
2424

@@ -29,17 +29,17 @@ The Orders API is ideal in the following scenarios:
2929
Orders in Hello Screens follow a clear lifecycle that the API reflects:
3030

3131
1. **Order Creation:**
32-
32+
3333
Submit a new order using the **`Create Order`** endpoint. This sets the order's initial state.
34-
34+
3535
2. **Order Updates:**
36-
36+
3737
Modify an existing order’s details (e.g., status, delivery information, customer details) using the **`updateOrder`** event type.
38-
38+
3939
3. **Order Cancellation:**
40-
40+
4141
Cancel orders when necessary using the **`cancelled`** event type.
42-
42+
4343

4444
---
4545

@@ -81,11 +81,11 @@ The Orders API supports two ways to include additional information in an event p
8181
#### **1. `hsFields`**
8282

8383
- **Purpose:**
84-
84+
8585
Use **`hsFields`** to provide details that need to be displayed to store staff through Hello Screens. This information is typically operational and helps the team process the order efficiently.
86-
86+
8787
These fields are visible in the **order modal** or **order details** screens used by the store.
88-
88+
8989
- **Example Use Cases:**
9090
- Displaying a customer's car model, color, and plate number for curbside pickup.
9191
- Showing the parking bay number where a customer is waiting.
@@ -94,11 +94,11 @@ The Orders API supports two ways to include additional information in an event p
9494
#### **2. `customEventMetaData`**
9595

9696
- **Purpose:**
97-
98-
Use **`customEventMetaData`** to include information that is important for managing, tracking, or analysing the order but does not need to be visible to store staff or displayed in Hello Screens.
99-
100-
The list of custom data fields **wont** be included to the API responses but will be sent via [Hello Order Webhooks](https://docs.bluedot.io/Webhooks/Hello%20order). This data remains backend-focused and is primarily for use in your internal systems or analytics tools.
101-
97+
98+
Use **`customEventMetaData`** to include information that is important for managing, tracking, or analysing the order but does not need to be visible to store staff or displayed in Hello Screens.
99+
100+
The list of custom data fields **won't** be included to the API responses but will be sent via [Hello Order Webhooks](https://docs.bluedot.io/Webhooks/Hello-order). This data remains backend-focused and is primarily for use in your internal systems or analytics tools.
101+
102102
- **Example Use Cases:**
103103
- Tracking partner delivery IDs for system integrations.
104104
- Including an internal reference ID for analytics purposes.
@@ -113,7 +113,7 @@ Order IDs are essential part of managing orders with Orders API. While they’re
113113

114114
1. **24 Hours Behaviour:**  By default, an `orderId` can’t be reused or registered again within 24 hours for the same store and project. The countdown resets each time an event is recorded for the order (e.g., an update or status change).
115115
2. **Updating Orders:** If the details of an order change (e.g., delivery address or items), use the `updateOrder` event Type to modify the existing order.
116-
3. **Overwriting Orders:** If you need to reuse an existing `orderId` within the 24-hour period, you can set the `forceOverwrite` property to `true` when submitting a new order. This replaces the current order associated with the same `orderId`.
116+
3. **Overwriting Orders:** If you need to reuse an existing `orderId` within the 24-hour period, you can set the `forceOverwrite` property to `true` when submitting a new order. This replaces the current order associated with the same `orderId`.
117117

118118
While this can be helpful in certain situations, we recommend using it only when necessary. Overwriting orders too frequently impacts order tracking data and analytics consistency. Use a unique `orderId` for each store and project combo whenever possible.
119119

@@ -126,4 +126,4 @@ While this can be helpful in certain situations, we recommend using it only when
126126
"errorDescription": "Order already exists with that orderId in the target destination. Either use PUT to update the order or set forceOverwrite to true to overwrite the existing order with a new one."
127127
}
128128
}
129-
```
129+
```

docs/Canvas/Overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _Learn about using_ [_Canvas_](https://select-region.bluedot.io/) _to operate yo
1414

1515
Rezolve Canvas is a feature-rich user interface for you to operate and configure your Rezolve account. You can use Canvas to build Projects, create Zones, draw Geofences, manage your account and more.
1616

17-
Once youve integrated the SDK in your mobile app, you can use Canvas (or our Config. API) to design valuable, real-world experiences for your app users.
17+
Once you've integrated the SDK in your mobile app, you can use Canvas (or our Config API) to design valuable, real-world experiences for your app users.
1818

1919
We’re always happy to help with integration, Zone setup or other questions you might have – just contact our Support Team.
2020

@@ -41,4 +41,4 @@ Next steps
4141
Read on to learn more about Canvas and Rezolve:
4242

4343
* [Creating a new Project](../Canvas/Creating%20a%20new%20project.md)
44-
* [Creating a new Zone](../Canvas/Add%20a%20new%20zone.md)
44+
* [Creating a new Zone](../Canvas/Add%20a%20new%20zone.md)

docs/Custom Data.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ eventMetaData.put("key2", "value2");
3939
ServiceManager.getInstance(context).setCustomEventMetaData(eventMetaData);
4040
```
4141

42-
Detailed informaion the `setCustomEventMetaData` API can be found in the [Android SDK documentation](https://android-docs.bluedot.io/-bluedot%20-s-d-k%20-docs/au.com.bluedot.point.net.engine/-service-manager/set-custom-event-meta-data.html).
42+
Detailed information the `setCustomEventMetaData` API can be found in the [Android SDK documentation](https://android-docs.bluedot.io/-bluedot%20-s-d-k%20-docs/au.com.bluedot.point.net.engine/-service-manager/set-custom-event-meta-data.html).
4343

4444
#### iOS
4545
```swift
@@ -55,7 +55,7 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
5555
}
5656
```
5757

58-
Detailed informaion the `setCustomEventMetaData` API can be found in the [iOS SDK documentation](https://ios-docs.bluedot.io/Classes/BDLocationManager.html#/c:objc(cs)BDLocationManager(im)setCustomEventMetaData:).
58+
Detailed information the `setCustomEventMetaData` API can be found in the [iOS SDK documentation](https://ios-docs.bluedot.io/Classes/BDLocationManager.html#/c:objc(cs)BDLocationManager(im)setCustomEventMetaData:).
5959

6060
:::info
6161
The custom event metadata is not persisted across SDK sessions. If the SDK is logged out the custom event metadata is cleared by the SDK. The Custom Event Metadata can be set at any time, although we suggest setting the custom data before starting GeoTriggering or Tempo.
@@ -93,7 +93,7 @@ Zone Custom Data is used to attach specific information to geographical zones, t
9393
### Implementation
9494
You could also use Config API to set Zone Custom Data. For more details please refer to [Config API documentation](https://config-docs.bluedot.io/#tag/zones/operation/addZone).
9595

96-
#### Example
96+
#### Example
9797
```json
9898
{
9999
"zone_id": "zone123",
@@ -129,4 +129,4 @@ You could also use Config API to set Zone Custom Data. For more details please r
129129
}
130130
}
131131
}
132-
```
132+
```

docs/Point SDK/Overview.mdx

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,69 @@ import Card from '../../src/components/Card'
88
Overview
99
========
1010

11-
Welcome to Rezolve's Point SDK documentation! Our SDK integrates with both native and cross-platform frameworks, empowering your app with precise, efficient location services. Let's start enhancing your application.
11+
Welcome to Rezolve's Point SDK documentation! Our SDK integrates with both native and cross-platform frameworks, empowering your app with precise, efficient location services.
1212

13+
## What is Point SDK?
14+
15+
Point SDK is Rezolve's mobile location intelligence engine that brings high-accuracy geofencing and ETA prediction capabilities to your iOS and Android applications. With minimal battery impact and offline capability, Point SDK enables you to create sophisticated location-based experiences.
16+
17+
## Key Capabilities
18+
19+
### Geo-triggering
20+
Trigger actions when users enter or exit geofenced areas with 20x more accuracy than standard geofencing solutions. Perfect for:
21+
- Store arrival notifications
22+
- Proximity marketing campaigns
23+
- Location-based content delivery
24+
- Customer journey tracking
25+
26+
### Tempo (ETA Predictions)
27+
Get real-time customer arrival estimates as they travel to your locations. Ideal for:
28+
- Curbside pickup optimization
29+
- Drive-thru order timing
30+
- Delivery coordination
31+
- Staff preparation alerts
32+
33+
### Low Battery Impact
34+
Advanced algorithms ensure minimal battery drain while maintaining precision location tracking, even when your app is in the background.
35+
36+
### Offline Capability
37+
Geofences work even without network connectivity - triggers fire locally on the device.
1338

1439
<div className="card-stack-two-column">
15-
<Card
40+
<Card
1641
title="Android"
1742
description=""
1843
link="/Point%20SDK/Android/Overview"
1944
icon="img/icons/Android-SDK.png"
2045
/>
21-
<Card
46+
<Card
2247
title="iOS"
2348
description=""
2449
link="/Point%20SDK/iOS/Overview"
2550
icon="img/icons/iOS-SDK.png"
2651
/>
27-
<Card
52+
<Card
2853
title="React Native"
2954
description=""
3055
link="/Point%20SDK/React%20Native/Overview"
3156
icon="img/icons/React-Native.png"
3257
/>
33-
<Card
58+
<Card
3459
title="Flutter"
3560
description=""
3661
link="/Point%20SDK/Flutter/Overview"
3762
icon="img/icons/Flutter.png"
3863
/>
39-
<Card
64+
<Card
4065
title="Xamarin"
4166
description=""
4267
link="/Point%20SDK/Xamarin/Overview"
4368
icon="img/icons/Xamarin.png"
4469
/>
45-
<Card
70+
<Card
4671
title="Cordova"
4772
description=""
4873
link="/Point%20SDK/Cordova/Overview"
4974
icon="img/icons/Cordova.png"
5075
/>
51-
</div>
76+
</div>

docs/Regions URLs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Choose the endpoint that corresponds to the region where your account is hosted.
1616
| Config API | https://config.bluedot.io/prod1 | https://eu1-config.bluedot.io/prod1 | https://us1-config.bluedot.io/prod1 |
1717
| Analytics API | https://analytics.bluedot.io/prod1 | https://eu1-analytics.bluedot.io/prod1 | https://us1-analytics.bluedot.io/prod1 |
1818
| Events API | https://au1-events.bluedot.io/ | https://eu1-events.bluedot.io/ | https://us1-events.bluedot.io/ |
19-
| Orders API | https://au1-orders.bluedot.io | https://eu1-orders.bluedot.io | https://us1-orders.bluedot.io |
19+
| Orders API | https://au1-orders-core.bluedot.io | https://eu1-orders-core.bluedot.io | https://us1-orders-core.bluedot.io |
2020
| Now Ready | https://au.nowready.io | https://eu.nowready.io | https://us.nowready.io |
2121

22-
To access Canvas you can also the [Select Region](https://select-region.bluedot.io/) page and select your Account’s region.
22+
To access Canvas you can also the [Select Region](https://select-region.bluedot.io/) page and select your Account’s region.

0 commit comments

Comments
 (0)