orders

Find purchase order by ID

get/orders/{orderId}

Request

  • Base URL
    https://localhost/mobile-store
  • URL
    https://localhost/mobile-store/orders/{orderId}
  • Auth
    OAuth 2
    Implicit: https://test.com
    Scopes: place:orders

Path parameters

orderIdinteger required

ID of the order that needs to be fetched

Response

successful operation

idinteger
deviceIdinteger
quantityinteger
shipDatestring date-time
status'placed' | 'approved' | 'delivered'

Order Status

completeboolean

Example response

{
  "id": 1,
  "deviceId": 1,
  "quantity": 5,
  "shipDate": "2020-06-17T04:40:55.605Z",
  "status": "placed",
  "complete": false
}

Changes

No recorded changes to this operation across all 1 revision of this API.