Picker booking API

The booking API from Picker — 60 operation(s) for booking.

Operations 61

GET /admin/bookings Get list of bookings #
GET /admin/userBookings Get list of bookings from an user #
GET /admin/warningBookings Get list of bookings #
GET /api/getBookingDetails Get all details from a selected booking #
GET /api/getChatbotBooking Get all details from a selected booking using chatbot #
GET /api/getDriver Get drivers registered by the user #
GET /api/getDriverById Get driver by id #
GET /api/getDrivers Get drivers registered by the user #
GET /api/getPastBooking Get Past Booking For User #
GET /booking/getAllAvailabeBooking Get All Availabe Booking For serviceProvider and Driver #
GET /booking/getAllBids Get All Bid Request #
GET /booking/getAllBookingDetails Get All Deatils of Particular Booking For serviceProvider and Driver #
GET /booking/getBookingDetails Get All Deatils of Particular Booking For serviceProvider and Driver #
GET /booking/getBookingReport Get booking report data for user #
GET /booking/getBookingRoute Get path for specific booking #
GET /booking/getOngoingBooking Get Ongoing Booking For User #
GET /booking/getPastBooking Get Past Booking For User #
GET /booking/getProductList Get list of products from the booking #
GET /booking/preCheckout Get deliveryFee and details for checkout screen #
POST /booking/preCheckout Get delivery details for pre checkout view #
GET /customer/getPastBooking Get Past Booking For Customer #
GET /api/workspace/getBookingDetails Get all details from a selected booking #
PUT /admin/assignResponsable Assign user as responsable for a booking #
PUT /admin/changeBookingDriver Change the driver of a selected booking #
PUT /api/rateChatbotBooking Rate a booking from chatbot #
PUT /booking/addProofOfDelivery When a booking it's completed the delivery send a picture that should save in the booking #
PUT /booking/assignBookingManually Send booking notification manually to sp/driver #
PUT /booking/assignBookingRandomly Remove driver from booking and start new driver search #
PUT /booking/assignManualRequest Send booking notification request manually to driver #
PUT /booking/bookingAcceptReject Accept-Reject Booking #
PUT /booking/cancelBooking Cancel Booking #
PUT /booking/cancelBookingFromBusiness Cancel Booking From Business #
PUT /booking/cancelBookingRequest Cancel Booking #
PUT /booking/changePaymentMethod Change payment method of the selected booking #
PUT /booking/editOrderRequest Edit the selected order request and send notification to customer #
PUT /booking/getCancellationChargeInfo Cancel Booking #
PUT /booking/makeDonation Make a donation after the booking #
PUT /booking/notDelivered Mark a booking as not delivered to the customer #
PUT /booking/notShow Validate && set booking as a Not Show #
PUT /booking/rejectBooking When a booking is in ON HOLD, the business and admin can reject it. All charges made to the customer's card are refunded. #
PUT /booking/restartSearchAutomaticAccept Restarts the driver search after driver doesnt login in automatic acceptation #
PUT /booking/restartTime Restart time of the selected booking #
PUT /booking/selectBidByCustomer Select Bid #
PUT /booking/setBookingIssue Set issue for a booking #
PUT /booking/setCancellationReason Set reason of cancellation for a booking #
PUT /booking/validateCodeOfProof Validate the code that driver send #
PUT /booking/play/pause start time and pause time #
POST /admin/shareMyRide Get SMR for selected booking #
POST /api/pushShopifyOrder Handle shopify integration with push system #
POST /api/pushSpoonityOrder Handle spoonity integration with push system #
POST /api/pushVtexOrder Handle vtex integration with push system #
POST /api/saveShopifyConfig Handle shopify integration with push system #
POST /api/sendChatbotBookingRate Rating a booking from chatbot #
POST /booking/createBooking Create a new booking #
POST /booking/createMarketPlaceBooking Create Booking Request for Market Place #
POST /booking/makeBidByDriver Make an order request for a booking #
POST /booking/restartSearch Restarts the driver search for the selected booking #
POST /booking/sendOrderRequestNotification Send the notification of the selected order request from the booking to the customer #
POST /booking/validateBooking Check if a booking can create in Picker #
POST /public/sentReportToUser Sent Booking Reports #
DELETE /booking/deleteOrderRequest Delete the selected order request from the booking #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/picker-booking-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

picker-booking-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Picker Production Documentation accounting Booking API
  version: V1.0.0
  contact:
    name: RV
    email: rachit.verma@nextjuggernaut.com
servers:
- url: http://api.pickerexpress.com/
tags:
- name: booking
paths:
  /admin/bookings:
    get:
      summary: Get list of bookings
      operationId: getAdminBookings
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 12
      - name: skip
        in: query
        required: false
        schema:
          type: integer
          default: 0
      - name: startDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: endDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - x-constraint:
          single: true
        name: currentStatus
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: number
            enum:
            - 0
            - 1
            - 2
            - 3
            - 4
            - 5
            - 7
            - 6
            - 8
            - 11
            - 12
            - 13
            - 20
            - 21
            - 22
            - 10
            - 25
            - 23
            - 27
            - 28
            - 32
            - 34
            - 33
            - 29
            - 31
      - name: typeText
        in: query
        required: false
        schema:
          type: string
          enum:
          - PICKUP_AND_DELIVER
          - BUY_AND_DELIVER
          - MARKETPLACE
          - SHOP_ORDER
          - CORPORATE
          - WHITE_LABEL
      - name: sortField
        in: query
        required: false
        schema:
          type: string
      - name: sortOrder
        in: query
        required: false
        schema:
          type: string
      - name: searchBooking
        in: query
        required: false
        schema:
          type: string
      - name: customer
        in: query
        required: false
        schema:
          type: string
      - name: driver
        in: query
        required: false
        schema:
          type: string
      - name: business
        in: query
        required: false
        schema:
          type: string
      - name: superRegionID
        in: query
        required: false
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /admin/userBookings:
    get:
      summary: Get list of bookings from an user
      operationId: getAdminUserbookings
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 12
      - name: skip
        in: query
        required: false
        schema:
          type: integer
          default: 0
      - name: startDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: endDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: customer
        in: query
        required: false
        schema:
          type: string
      - name: driver
        in: query
        required: false
        schema:
          type: string
      - name: business
        in: query
        required: false
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /admin/warningBookings:
    get:
      summary: Get list of bookings
      operationId: getAdminWarningbookings
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 12
      - name: skip
        in: query
        required: false
        schema:
          type: integer
          default: 0
      - name: startDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: endDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: sortField
        in: query
        required: false
        schema:
          type: string
      - name: sortOrder
        in: query
        required: false
        schema:
          type: string
      - name: adminResponsableID
        in: query
        required: false
        schema:
          type: string
      - name: superRegionID
        in: query
        required: false
        schema:
          type: string
      - name: currency
        in: query
        required: false
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /api/getBookingDetails:
    get:
      summary: Get all details from a selected booking
      operationId: getApiGetbookingdetails
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: bookingID
        in: query
        required: false
        schema:
          type: number
      - name: id
        in: query
        required: false
        schema:
          type: string
      - name: externalID
        in: query
        required: false
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /api/getChatbotBooking:
    get:
      summary: Get all details from a selected booking using chatbot
      operationId: getApiGetchatbotbooking
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - description: Field bookingNumericId
        name: bookingID
        in: query
        required: true
        schema:
          type: number
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /api/getDriver:
    get:
      summary: Get drivers registered by the user
      operationId: getApiGetdriver
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: email
        in: query
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /api/getDriverById:
    get:
      summary: Get driver by id
      operationId: getApiGetdriverbyid
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: id
        in: query
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /api/getDrivers:
    get:
      summary: Get drivers registered by the user
      operationId: getApiGetdrivers
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: skip
        in: query
        required: false
        schema:
          type: integer
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /api/getPastBooking:
    get:
      summary: Get Past Booking For User
      operationId: getApiGetpastbooking
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: skip
        in: query
        required: false
        schema:
          type: integer
      - name: startDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: endDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - description: 0-Pending, 1-Accepted, 2-Arrived, 3-WAY_TO_DELIVER, 4-Arrived At Delivery, 5-Completed6-Cancelled By Admin, 7-Cancelled
        x-constraint:
          single: true
        name: currentStatus
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: number
            enum:
            - 0
            - 1
            - 2
            - 3
            - 4
            - 5
            - 7
            - 6
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getAllAvailabeBooking:
    get:
      summary: Get All Availabe Booking For serviceProvider and Driver
      operationId: getBookingGetallavailabebooking
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: skip
        in: query
        required: false
        schema:
          type: integer
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getAllBids:
    get:
      summary: Get All Bid Request
      operationId: getBookingGetallbids
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - description: Booking id for the bids
        name: bookingID
        in: query
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: skip
        in: query
        required: false
        schema:
          type: integer
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getAllBookingDetails:
    get:
      summary: Get All Deatils of Particular Booking For serviceProvider and Driver
      operationId: getBookingGetallbookingdetails
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: id
        in: query
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getBookingDetails:
    get:
      summary: Get All Deatils of Particular Booking For serviceProvider and Driver
      operationId: getBookingGetbookingdetails
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: id
        in: query
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getBookingReport:
    get:
      summary: Get booking report data for user
      operationId: getBookingGetbookingreport
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - description: _id of the booking selected
        name: bookingID
        in: query
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 24
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getBookingRoute:
    get:
      summary: Get path for specific booking
      operationId: getBookingGetbookingroute
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - description: Booking ID to fetch the track history
        name: bookingID
        in: query
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 24
      - name: objectId
        in: query
        required: false
        schema:
          type: boolean
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getOngoingBooking:
    get:
      summary: Get Ongoing Booking For User
      operationId: getBookingGetongoingbooking
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: skip
        in: query
        required: false
        schema:
          type: integer
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getPastBooking:
    get:
      summary: Get Past Booking For User
      operationId: getBookingGetpastbooking
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: skip
        in: query
        required: false
        schema:
          type: integer
      - name: startDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: endDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: dateFrom
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: orderDate
        in: query
        required: false
        schema:
          type: string
          enum:
          - DESC
          - ASC
      - name: dateTo
        in: query
        required: false
        schema:
          type: string
          format: date
      - description: 0-Pending, 1-Accepted, 2-Arrived, 3-WAY_TO_DELIVER, 4-Arrived At Delivery, 5-Completed, 7-Cancelled, 8-Cancelled By Driver, 10-Cancelled Request, 11-Rejected By Customer, 12-Not Found, 20-On Hold, 21-On Deck, 22-Ready for pickup
        x-constraint:
          single: true
        name: currentStatus
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: number
            enum:
            - 0
            - 1
            - 2
            - 3
            - 4
            - 5
            - 7
            - 6
            - 8
            - 11
            - 12
            - 13
            - 20
            - 21
            - 22
            - 10
            - 25
            - 23
            - 27
            - 28
            - 29
      - name: typeText
        in: query
        required: false
        schema:
          type: string
          enum:
          - PICKUP_AND_DELIVER
          - BUY_AND_DELIVER
          - MARKETPLACE
          - SHOP_ORDER
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/getProductList:
    get:
      summary: Get list of products from the booking
      operationId: getBookingGetproductlist
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - description: _id of the booking selected
        name: bookingID
        in: query
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 24
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /booking/preCheckout:
    get:
      summary: Get deliveryFee and details for checkout screen
      operationId: getBookingPrecheckout
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - description: Distance between pickup & delivery location
        name: distance
        in: query
        required: true
        schema:
          type: number
          minimum: 0
      - x-constraint:
          precision: 6
        name: pickupLongitude
        in: query
        required: true
        schema:
          type: number
          maximum: 180
          minimum: -180
      - x-constraint:
          precision: 6
        name: pickupLatitude
        in: query
        required: true
        schema:
          type: number
          maximum: 90
          minimum: -90
      - description: Array of products the customer will buy
        name: products
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
    post:
      summary: Get delivery details for pre checkout view
      operationId: postBookingPrecheckout
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Model_63'
  /customer/getPastBooking:
    get:
      summary: Get Past Booking For Customer
      operationId: getCustomerGetpastbooking
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: skip
        in: query
        required: false
        schema:
          type: integer
      - name: startDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: endDate
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: orderDate
        in: query
        required: false
        schema:
          type: string
          enum:
          - DESC
          - ASC
      - x-constraint:
          single: true
        name: currentStatus
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: number
            enum:
            - 0
            - 1
            - 2
            - 3
            - 4
            - 5
            - 7
            - 6
            - 8
            - 11
            - 12
            - 13
            - 20
            - 21
            - 22
            - 10
            - 25
            - 23
            - 27
            - 28
            - 29
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /api/workspace/getBookingDetails:
    get:
      summary: Get all details from a selected booking
      operationId: getApiWorkspaceGetbookingdetails
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      - name: bookingID
        in: query
        required: false
        schema:
          type: number
      - name: id
        in: query
        required: false
        schema:
          type: string
      - name: externalID
        in: query
        required: false
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
  /admin/assignResponsable:
    put:
      summary: Assign user as responsable for a booking
      operationId: putAdminAssignresponsable
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Model_5'
  /admin/changeBookingDriver:
    put:
      summary: Change the driver of a selected booking
      operationId: putAdminChangebookingdriver
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Model_7'
  /api/rateChatbotBooking:
    put:
      summary: Rate a booking from chatbot
      operationId: putApiRatechatbotbooking
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Model_13'
  /booking/addProofOfDelivery:
    put:
      summary: When a booking it's completed the delivery send a picture that should save in the booking
      operationId: putBookingAddproofofdelivery
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Model_16'
  /booking/assignBookingManually:
    put:
      summary: Send booking notification manually to sp/driver
      operationId: putBookingAssignbookingmanually
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                userID:
                  type: string
                  description: User id of service provider
                role:
                  type: string
                  enum:
                  - driver
                  - serviceProvider
                bookingID:
                  type: string
                  description: Booking ID
                assignConfirm:
                  type: boolean
                  description: If booking was check for have provider assign
                manualAssignReason:
                  type: string
                  description: Reason of the assign
                isAdmin:
                  type: boolean
              required:
              - userID
              - role
              - bookingID
              - assignConfirm
              - manualAssignReason
  /booking/assignBookingRandomly:
    put:
      summary: Remove driver from booking and start new driver search
      operationId: putBookingAssignbookingrandomly
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                bookingID:
                  type: string
              required:
              - bookingID
  /booking/assignManualRequest:
    put:
      summary: Send booking notification request manually to driver
      operationId: putBookingAssignmanualrequest
      parameters:
      - description: Bearer Token
        name: authorization
        in: header
        required: true
        schema:
          type: string
      - description: en/ar
        name: content-language
        in: header
        required: true
        schema:
          type: string
      tags:
      - booking
      responses:
        default:
          description: Successful
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                userID:
                  type: string
                  description: User ID of driver
                bookingID:
                  type: string
                  description: Booking ID
                manualRequestReason:
                  type: string
                  description: Reas

# --- truncated at 32 KB (74 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/picker/refs/heads/main/openapi/picker-booking-api-openapi.yml