Deliverart Workshifts API
The Workshifts API from Deliverart — 5 operation(s) for workshifts.
The Workshifts API from Deliverart — 5 operation(s) for workshifts.
openapi: 3.1.0
info:
title: Deliverart Addresses Workshifts API
version: '1.0'
description: Deliverart is food-delivery management software for restaurants and delivery businesses, centralizing orders (Just Eat, Glovo, Deliveroo, website, phone), menu synchronization, rider/delivery management and tracking. This OpenAPI was generated by API Evangelist from the public Deliverart API reference (https://apidoc.deliverart.it) — an RPC-style API over HTTPS using GET for reads and POST for writes, with API Key (X-Deliverart-ApiKey) and OAuth2 (password grant) authentication.
contact:
name: Deliverart
email: info@deliverart.it
url: https://apidoc.deliverart.it/
x-generated-by: api-evangelist-enrichment
x-source: https://apidoc.deliverart.it/
servers:
- url: https://pubapi.deliverart.it
description: Deliverart public API
security:
- oauth2: []
- apiKey: []
tags:
- name: Workshifts
paths:
/workshift/{id}/detail:
get:
operationId: workshiftsDetail
summary: Workshifts — Detail
tags:
- Workshifts
description: Workshifts — Detail. Deliverart RPC-style endpoint (GET only).
responses:
'200':
description: Success
'400':
description: Invalid request or credentials
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Validation failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: id
in: path
required: true
schema:
type: string
security:
- oauth2:
- workshifts_read
- workshifts_admin
- apiKey: []
/workshift/{workshiftId}/address/{addressId}/delivery/times:
get:
operationId: workshiftsDeliveryTimes
summary: Workshifts — Delivery times
tags:
- Workshifts
description: Workshifts — Delivery times. Deliverart RPC-style endpoint (GET only).
responses:
'200':
description: Success
'400':
description: Invalid request or credentials
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Validation failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: workshiftId
in: path
required: true
schema:
type: string
- name: addressId
in: path
required: true
schema:
type: string
security:
- oauth2:
- workshifts_read
- workshifts_admin
- apiKey: []
/workshift/{workshiftId}/take-away/times:
get:
operationId: workshiftsTakeAwayTimes
summary: Workshifts — Take away times
tags:
- Workshifts
description: Workshifts — Take away times. Deliverart RPC-style endpoint (GET only).
responses:
'200':
description: Success
'400':
description: Invalid request or credentials
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Validation failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: workshiftId
in: path
required: true
schema:
type: string
security:
- oauth2:
- take_away_time_read
- workshifts_admin
- apiKey: []
/workshift/invitation/accept:
post:
operationId: workshiftsInvitationAccept
summary: Workshifts — Invitation / Accept
tags:
- Workshifts
description: Workshifts — Invitation / Accept. Deliverart RPC-style endpoint (POST only).
responses:
'200':
description: Success
'400':
description: Invalid request or credentials
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Validation failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: false
content:
application/json:
schema:
type: object
security:
- oauth2: []
- apiKey: []
/workshift/invitation/reject:
post:
operationId: workshiftsInvitationReject
summary: Workshifts — Invitation / Reject
tags:
- Workshifts
description: Workshifts — Invitation / Reject. Deliverart RPC-style endpoint (POST only).
responses:
'200':
description: Success
'400':
description: Invalid request or credentials
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Validation failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: false
content:
application/json:
schema:
type: object
security:
- oauth2: []
- apiKey: []
components:
schemas:
Error:
type: object
description: Deliverart error envelope.
properties:
message:
type: string
code:
type: string
errors:
type: array
items:
type: object
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-Deliverart-ApiKey
description: API key issued by the Deliverart team, sent in the X-Deliverart-ApiKey header.
oauth2:
type: oauth2
description: OAuth2 password grant. Token endpoint is on the auth host.
flows:
password:
tokenUrl: https://auth.deliverart.it/oauth
refreshUrl: https://auth.deliverart.it/oauth
scopes:
address_admin: Manage addresses
address_create: Create addresses
address_read: Read addresses
company_admin: Full company management
company_pos_read: Read company points of sale
company_read: Read company
create_customer: Create customers
customer_address_create: Create customer addresses
customer_address_read: Read customer addresses
customer_address_update: Update customer addresses
customer_admin: Full customer management
customer_business_profile_create: Create customer business profiles
customer_business_profile_read: Read customer business profiles
customer_business_profile_update: Update customer business profiles
customer_orders_read: Read customer orders
customer_read: Read customers
customer_update: Update customers
deliveries_fee_read: Read delivery fees
deliveries_read: Read deliveries
delivery_admin: Full delivery management
delivery_fee_admin: Manage delivery fees
delivery_fee_read: Read delivery fees
delivery_read: Read deliveries
menu_admin: Full menu management
menu_item_admin: Manage menu items
menu_item_allergen_admin: Manage menu allergens
menu_item_category_admin: Manage menu categories
menu_item_ingredient_admin: Manage menu ingredients
menu_read: Read menu
order_abort: Abort orders
order_admin: Full order management
order_cancel: Cancel orders
order_create: Create orders
order_list: List orders
order_read: Read orders
order_update: Update orders
point_of_sale_admin: Full point-of-sale management
point_of_sale_read: Read points of sale
read_customer: Read customer
take_away_admin: Manage take-away
take_away_read: Read take-away
take_away_time_read: Read take-away times
workshifts_admin: Manage workshifts
workshifts_read: Read workshifts