- 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 Resources [DEPRECATED]
Create a resource
POST ~/resources
Headers
Parameters
Response Headers
Response
Examples
Request: Create a new resource hosted by Doshii
{
"name": "logo.png",
"mimeType": "image/png",
"context": "logo",
"type": "doshii-uri",
"private": false,
"relations": {
"locations": ["2X3b8q"]
}
}
Response
{
"id":"lLf2X0k6",
"uploadUri":"https://sandbox.pos.doshii.co/v3/resources/lLf2X0k6",
"createdAt": "2018-08-24T04:58:38.485Z"
}
Request: Create a new resource externally hosted
{
"name": "logo.png",
"mimeType": "image/png",
"context": "logo",
"type": "external-uri",
"resource": "https://some.external.host/images/logo.png",
"private": false,
"relations": {
"locations": ["2X3b8q"]
}
}
Response
{
"id":"lLf2X0k6",
"createdAt": "2018-08-24T04:58:38.485Z"
}