- Help for Partners
- Resources
-
API concepts
-
Members
-
Model
-
FAQ - Developers
-
Resources
-
Orders
-
Rewards
-
Check-ins
-
Getting started - App partners
-
Employees
-
Getting started - Doshii Dashboard
-
Quick start for developers
-
Onboarding
-
Location
-
All App Partners Event
-
Menus
-
Announcements
-
Loyalty / Checkins
-
WebSocket - App partners
-
All POS vendor events
-
Loyalty / Gift Cards
-
Devices
-
Tables
-
Workflows
-
FAQ - Doshii Dashboard
-
Bookings
-
Transactions
-
Webhooks
-
App Partner Guide
-
Authentication
-
Getting started - POS vendors
-
Ordering
-
Reservations
-
Pilot
-
Bulk data
-
Playbooks
-
Rejection codes
-
Getting started
-
WebSocket - POS partners
-
Events - App partners
-
Service channels
-
Events
-
Concepts
-
Apps
Create Resource Links [DEPRECATED]
Links entities to a given resource
POST ~/resources/:resource-id/relations
Headers
Parameters
Parameters
Response
Examples
Request: Link a location to a resource
{
"relations": {
"locations": ["2X3b8q"]
}
}
Response
{
"id": "lLf2X0k6",
"name": "pizza.png",
"mimeType": "image/png",
"context": "logo",
"type": "doshii-uri",
"resource": "https://sandbox.pos.doshii.co/v3/resources/lLf2X0k6",
"createdAt": "2018-08-20T03:14:39.374Z",
"relations": {
"apps": [123],
"locations": ["2X3b8q"],
"menuProducts": [{
"locationId": "2X3b8q",
"posId": "pizza"
}],
"vendors": [456]
}
}